Draw a line graphic?

422
2
09-07-2018 08:22 AM
by Anonymous User
Not applicable

I have a number of map points which to create a simple polyline from. I want to display this polyline on my map as a simple graphic using the SDK (but not in layout view). Is this possible? I'm unsure what area of the SDK to look for this.

I don't want to create a feature class as this takes ages.

0 Kudos
2 Replies
Wolf
by Esri Regular Contributor
Esri Regular Contributor

Hi Luke,

 You can look at this sample: OverlayExamples on how to construct line symbology and a 'graphic' object, and you can then use AddOverlayAsync to add the line to your MapView. 

 Hope this helps.

Wolf

by Anonymous User
Not applicable

Great - thank you!

0 Kudos