Plot points on polyline using graphics layer

757
3
07-02-2014 03:23 AM
prashantk
New Contributor III
Hi,

I want to plot points on selected polyline with specific interval. ArcGIS Desktop provides same functionality "Construct Points" in editor toolbar.

I am trying to implement the same using silverlight api.And display dynamically generated points on graphics layer.

This type of geometry operation is possible in web api? or other alternative?

Any help would be appreciated.

Thanks,
Prashant
0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
This linear referencing sample should help. It offers the infrastructure to calculate point position along lines.
prashantk
New Contributor III

Thanks Dominique,

It helps to plot point on line with specific interval.

But another question is how to get segment of polyline using silverlight api? Because polyline.Paths provides collection of points.I need starting and ending point of each segment.

Is there any way to get segments of polyline?

0 Kudos
DominiqueBroux
Esri Frequent Contributor

I am not sure to understand what you mean.

The collection of points gives directly you the starting and ending point of each segment.

If you want to create segments from the M starting and ending positions, the Linear referencing sample‌ should help

0 Kudos