I’m using the Overlays sample as the basis for a current position-tracking, overhead map display Web site. This generally works, but, when the user zooms in on his map, the map will, after a few seconds, zoom back out to some level (always the same level).
I’m using the Leaflet branch of the Overlays sample and mostly Bing overhead maps, but the same effect occurs with Google Maps and street map “mode”.
I’m testing on Android N with the latest updates (7.0) and Chrome.
I don’t see anything in the JavaScript code that should be redrawing the map. I’ve adjusted the maxZoom setting to 20,. matching the default maximum zoom for the location-disabled configuration.
Is this some restriction or requirement that I’ve missed? Are we only permitted to show location on a map with a certain zoom level? Where is this enforced? My Bing Maps key doesn’t carry this restriction so I’d like it to work correctly.
Thanks!
Paul T.