This sample demonstrates a route planning scenario with:
  • A route composed of data from a downloaded JSON file
  • Plotting a 2D dynamic vector line to represent the route
  • Clustered marker labels to represent each way point
When the user clicks on the route or a waypoint:
  • Panning and zooming are disabled
  • The mouse movement is translated into updating and redrawing the route
  • When the user releases the mouse button, the labels are reclustered