I didn't even know of the existence of the measurement tool 😕I've implemented it, and it works fine, except for one thing: How can I use other measurement units than the standard choices. I'm particularly thinking of using nautical miles.
I'm trying to figure out how to use the Draw toolset in this sample as a "measuring stick":http://help.arcgis.com/en/webapi/javascript/arcgis/demos/toolbar/toolbar_draw.htmlWhat I'm trying to accomplish is that a user will be able to see the distance on the map from a starting point to the end point.What I already know is that this can be accomplished with a point-to-point distance measurement using the map method toScreen to get the coordinates and then simply calculating the distance (using our old friend Pythagoras) between the two points, but I'm at a loss how to do this with the Draw toolset.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.