agol.ig.ky

Show position in the Map Viewer Template(AppStudio for ArcGIS 2.0)

Discussion created by agol.ig.ky on Jul 6, 2017
Latest reply on Aug 3, 2017 by TJin-esristaff

Hi,

 

I want to show the position of the device without the user having to press the location button. So when the map is loaded, the position will be showed as default. I can achieve this by starting the locationDisplay, but the view isn't 'zoomed' to the location. When i use the LocationDisplayAutoPanModeRecenter, the map jumps back and forth before zooming to the position. Is there a solution to this?

The code

Outcomes