Appologies.
Got called away for a family errand.
I'm owrking with cached maps in zip file level 0 to 18 only.
GPS is working.
Track my location works without fail.
MapSample app is working as exactly as expected with zoom level 18.
i.e. Map View IS moving to centre my location on the screen.
Next map tile is loading properly.
And my location is still tracking correctly.
No problem at all.
I then + to map level 19
Map level 18 is zoomed in anticipation of loading map level 19,
Map level 19 does not exist.
So map level 18 stays zoomed
And MapSample app still follows my location on the zoomed map level 18.
When my location changes enough
to show no map but just the grid behind,
I - to move to level 18
which loads the the missing map tile at level 18 map correctly.
Then I + again to move to level 19
which zooms level 18 map in anticipation of loading level 19 map.
Leve 19 map does not exist
But the zoomed level 18 map stays
and coninutes to track my location correctly.
When my location changes enough
to where the next map tile at level 19 is needed.
The next map tile at level 19 does not exist
so is unable to load or display.
But still tracks my location as if there is a loaded map.
As in the pic where I've driven too far down the map.
I hope that is clearer.
----
I think I need to trap the error of map level 19 not being able to load.
i.e. I only have level 18 maps and specificly want to trap for this situation.
If TryingToLoadNextTileAtLevel19 AND ErrorLoadingTile AND MaxMapsLevelAvailable is 18 then
ZoomBackToLevel = 18
LoadNextTileForLevel18
ZoomInToLevel = 19
end if
If TryingToLoadNextTileAtLevel19 AND ErrorLoadingTile AND MaxMapsLevelAvailable is 18 then
ZoomBackToLevel = 18
LoadNextTileForLevel18
' and DON'T ZoomInToLevel = 19 automaticly - i.e. make me zoom manually
end if