Select to view content in your preferred language

AGSLocationDisplayAutoPanModeNavigation and map scale

2761
3
04-15-2013 01:24 PM
PatrickHartling
Occasional Contributor
Is there any correlation between the current map scale of an AGSMapView and the auto-pan mode setting AGSLocationDisplayAutoPanModeNavigation? The behavior that I see is that the location on the map view does not change if the map scale is above about 7800. If the current map scale is less than 7800, then it works wonderfully.
0 Kudos
3 Replies
NimeshJarecha
Esri Regular Contributor
There is no such correlation. Please post a sample application demonstrating this so we can look into it.

Regards,
Nimesh
0 Kudos
PatrickHartling
Occasional Contributor
I have attached the source for an iPad application that demonstrates the issue. It seems that the velocity and the map scale both play a role. In the attached code, having a velocity of 4 meters per second requires that the map scale be 20,000 before the map stops moving along the polyline course. As the velocity increases, the map scale has to increase for the problem to occur.

To see the issue, do the following:


  1. Tap the Start button and wait for northward navigation to begin.

  2. Tap the Fails button and note that, after zooming out, the map stops updating to reflect the northward navigation.

  3. To confirm that navigation did occur, tap the Tracks button. Depending on how much time has passed during the previous step, the map will adjust for the current location being farther north than currently displayed.

0 Kudos
DiveshGoyal
Esri Regular Contributor
We're looking into this.
Sounds like you may have uncovered a bug.
Thanks for the repro case. Sweet!
0 Kudos