We are using shape to draw a "geo-fence" on a radmap. we are currently passing a coordinate, along with a property of radius to the map. The value of the radius property is a double representing meters. so a 1 nautical mile = 1852 meters, so the geofence has a radius of 926 meters
We have looked through all the samples and all the questions we can find in the forum, but we are not understanding what formula / calculation to use to draw this correctly on the map, and of course it needs to scale with zooming. We have been attempting this in the shapeCreated(e) client event as below: This of course draws a very large shape on the map.
Any direction on how to translate a shape based on radius meters (or other metric.. miles, feet, whatever) would be appreciated.