Hello everyone, I am GIS Analyst and I trying to dive into native GIS Mobile App development using Android Studio.
Here is a chunk of code I used to display my Basemap and GPS location:
Now I would like tract the user location:
- The app map should zoom to the user's location (GPS position) automatically when location change.
- The GPS position should be in the center of the map as the user is moving.
I will be grateful to any help. Thanks guys !
Solved! Go to Solution.
I believe what you want to do is set the autopan mode using a constant from the following API Reference page:
LocationDisplayManager.AutoPanMode | ArcGIS Android 10.2.8 API
I believe what you want to do is set the autopan mode using a constant from the following API Reference page:
LocationDisplayManager.AutoPanMode | ArcGIS Android 10.2.8 API
Thanks a lot Alexander ! I went through the API link you provide and I successfully run my code.