Using UTM instead of latlong when using an embedded map in c# app

87 Views Asked by At

So I have a mobile app that collects data and one of the components is a map that shows your location in the world.

This app is created using c# UWP and I am using ESRI ArcGISRuntime for the spatial component.

I have the map created and when I move around I am able to show my location as latitude and longitude. I am able to get my location in real time in both decimal degrees and degrees minute seconds, as well as the altitude using Coordinate.Point.Position.

I would like to have the option of showing my location in UTM coordinates but I have not found a simple way like I can with with lat long. Does anyone know how?

1

There are 1 best solutions below

1
On

You should use the CoordinateFormatter. It has a ToUtm() method that takes a MapPoint (which can be in any spatial reference) and some info about how to convert it to a UTM string.

Hope that helps