Reputation: 5684
I have an openlayers3 map that loads Aerial tiles from Bing Maps.
When the zoom exceeds a certain amount, the tiles are replaced by a white tile with a no imagery icon.
I need to allow the user to zoom beyond this level so they can see the position of vector features on the map.
I would like to have openlayers or Bing zoom into the existing image, even though the resolution will not be good, it is better than the white tile.
The closest information I could find is an answer to another question by user:457052. It may apply to openlayers2.
Upvotes: 1
Views: 393
Reputation: 17907
You need to set maxZoom in ol.source.BingMaps By default it will be set to the maximum level where there is data in some part of the world. Find the maximum level that works in your region (for UK it's 19) and limit it to that.
Upvotes: 2