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;
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.