Select to view content in your preferred language

Convert WebMercator To Geographic

697
1
08-28-2018 08:35 AM
MuruganandhamKuppan1
Regular Contributor

I have  used   `AGSGeometryWebMercatorToGeographic` and `

AGSGeometryGeographicToWebMercator` to convert from web mercator to geographic in runtime Sdk 10.x. But its not in runtime sdk 100.x. How can i get this functionalities?

Regards,

0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor

You can use AGSGeometryEngine's projectGeometry:toSpatialReference: method to project a geometry. You can pass AGSSpatialReference's webMercator or WGS84 method to set the desired spatial reference.

Hope this helps!

Regards,

Nimesh 

0 Kudos