allow max zoom of 21 - two portals 18cm apart only show at z=21

This commit is contained in:
Jon Atkins 2015-05-06 17:08:20 +01:00
parent d9abda87f3
commit bb5d263a73

View File

@ -100,8 +100,8 @@ window.getDataZoomForMapZoom = function(zoom) {
// firstly, some of IITCs zoom levels, depending on base map layer, can be higher than stock. limit zoom level // firstly, some of IITCs zoom levels, depending on base map layer, can be higher than stock. limit zoom level
// (stock site max zoom may vary depending on google maps detail in the area - 20 or 21 max is common) // (stock site max zoom may vary depending on google maps detail in the area - 20 or 21 max is common)
if (zoom > 20) { if (zoom > 21) {
zoom = 20; zoom = 21;
} }
var origTileParams = getMapZoomTileParameters(zoom); var origTileParams = getMapZoomTileParameters(zoom);