Display coordinates on a map

116
1
07-29-2019 12:18 PM
GiatriLalla
New Contributor III

Good Day,

How can I display on the screen, the coordinates of my location on a map?

Thank you.

0 Kudos
1 Reply
ErwinSoekianto
Esri Regular Contributor

The coordinate of your location is stored in the position properties of the PositionSource QML component. 

See the code snippet below, I used the "Display Device Location" sample in AppStudio Desktop and then added the code to print out the location from the PositionSource when the location is changed. 

I hope this is helpful,

Erwin

0 Kudos