I am using ArcGIS WPF's
Polyline to plot several lines (
PointCollections). Adding a Path(
PointCollection) looks something like this.
PointCollection collection = new PointCollection(); PolyLine myLine = new PolyLine(); collection.Add(firstMapPoint); collection.Add(secondMapPoint); myLine.Paths.Add(collection);
PolyLine is a Geometry in which I can set to a
Graphic and plot on a map. Once that
Graphic is clicked it of course is clicking the entire graphic. I am visually showing several Paths(
PointCollections). Is it possible to figure out which Path is being clicked on from the user?
I have a solution now where I just have 1
PolyLine. So I am adding one
Graphic for each line. I would rather not do this if I can avoid it.