Bjorne and Heather, if you're out there, we could use this in the JavaScript API as well!
Yes, please make toMeterFactor public!!! I can use it too.
I have extended the Esri Draw Widget to work with more spatial references than just Web Mercator and Geographic (4326). To do this, I needed to determine the units of any projected coordinate system. It doesn't seem like a huge task, but the only way I could figure out how to do this was to use the toMeterFactor property of SpatialReference. This requires the use of esri_internal, which I really hate to do. Is there another way to determine the units of a spatial reference? If not, can Esri make the toMeterFactor public? It works great.
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.