cubeQry1.qry
Download
More scripts: Style By Script
Syntax Highlighing:
comments, key words, predefined symbols, class members & methods, functions & classes
# CubeQry1 # Point CartoScript to draw red 3D cube symbol. # Script from Using CartoScripts tutorial. # Set dimensions of cube symbol width = 15; depth = 0.5 * width; height = width; # Set color for cube faces red = 255; green= 0; blue = 0; # Draw cube symbol LineStyleSetColor(0,0,0); # line color for edges LineStyleSetLineWidth(0); LineStyleDrawCube(width,depth,height,red,green,blue);