get my location XY values

940
2
10-09-2017 07:19 AM
mohammedalsaleh
New Contributor II

hello

how i can get my gps location coordinates XY values in xamarin ?

my location displayed on the map already

and can i get it without map ?

0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor

var locationOnMap = mapView.LocationDisplay.MapLocation; //Gets the location in the spatial reference of the map
var gpsLocation = mapView.LocationDisplay.Location; //Gets the location reported by the GPS in the GPS's spatial reference

mohammedalsaleh
New Contributor II

thank you very much 

0 Kudos