Draw a circle on a map with a radius in meters

4257
1
Jump to solution
07-17-2014 08:31 AM
Labels (1)
BenTurner
New Contributor III

Hello,

I am trying to draw a circle on a map using ESRI ArcGIS Runtime SDK WPF 10.2. I have found this link: Circle graphic?‌ which contains a code sample which will successfully draw a circle on the map.

However, I cannot figure out how to convert a distance in meters, into the "Radius" parameter of this code.

Are there any other "Circle" solutions? or a way to convert meters into the units that this class requires?

Michael

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
BenTurner
New Contributor III

Hello,

I managed to get round this issue by writing some code that worked out 360 lat/lng coordinates, of radius distance away from origin, in a set of different bearings, from 0 to 359. I then converted this set of coordinates into MapPoints.

http://pastebin.com/0G2gmK7Y

View solution in original post

0 Kudos
1 Reply
BenTurner
New Contributor III

Hello,

I managed to get round this issue by writing some code that worked out 360 lat/lng coordinates, of radius distance away from origin, in a set of different bearings, from 0 to 359. I then converted this set of coordinates into MapPoints.

http://pastebin.com/0G2gmK7Y

0 Kudos