ThinkGeo.com    |     Documentation    |     Premium Support

Changing the default Style of vertices

  1. we are drawing a route (line shape ) on the trackshapelayer. The vertices which comes up on drawing(default) . our question is can we edit the default styles of vertices. if yes then can you provide us with sample code.

  1. we also need to add control points on the lineshape once we draw a route.

Hi Hrishikesh_konde,

You can modify the point style for TrackOverlay like this:

map.TrackOverlay.TrackShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.Capital1;

But we cannot add control points for them because control points is the function of EditOverlay, you need to move the feature from TrackOverlay into EditOverlay then it will have the control points.

Regards,

Ethan