Syntax Highlighing:
comments, key words, predefined symbols, class members & methods, functions & classes
# StartEndQry
# Line CartoScript to draw different symbol for the
# start and end of the line, for use in the Spatial
# Data Editor.
# Script from Using CartoScripts tutorial.
# Set radius parameters for small and large circles
radius1 = 8; radius2 = 16; dofill = 0
# Set line color and width and draw line
LineStyleSetColor(170,85,0);
LineStyleSetLineWidth(4);
LineStyleDrawLine();
# Draw small red circle at beginning of line
LineStyleSetColor(225,0,0);
LineStyleDrawCircle(radius1,dofill);
# Move to end of line and draw large green circle
LineStyleSetPosition(1);
LineStyleSetColor(0,225,0);
LineStyleDrawCircle(radius2,dofill);