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?
Solved! Go to Solution.
The GeometryEngine has a project method that will convert from any spatial reference to a new spatial reference
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;