I'm using version 100.1.0.0 in a WPF application. How can I convert from latitude and longitude to WebMercator. Is there a routine already available?
The GeometryEngine has a project method that will convert from any spatial reference to a new spatial reference
Thanks for the info. Here's the solution...
MapPoint mapPointObjectToConvert = new MapPoint(longitude, latitude, SpatialReferences.Wgs84); MapPoint mapPoint = Esri.ArcGISRuntime.Geometry.GeometryEngine.Project(mapPointObjectToConvert, SpatialReferences.WebMercator) as MapPoint;
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.