Select to view content in your preferred language

get my location XY values

1082
2
10-09-2017 07:19 AM
mohammedalsaleh
Emerging Contributor

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
Emerging Contributor

thank you very much 

0 Kudos