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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.