Hi,
How do I draw a polygon on the map (via user input onto the map GUI)? Upon completion, it will fire an event whereby I can take the vertices.
Bai
Draw polygon
Hi Bai,
Please view the "Track And Edit Shapes" sample in our How Do I Samples project.
For simple:
Set winformsMap1.TrackOverlay.TrackMode = TrackMode.Polygon; can make map draw polygon
Add winformsMap1.TrackOverlay.TrackEnded event, you can get the shape after you complete draw operation.
Regards,
Don