aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing-ol.js
diff options
context:
space:
mode:
authorM Somerville <matthew-github@dracos.co.uk>2020-08-13 21:15:08 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-08-14 16:41:10 +0100
commite268e2b893aaf8a99e457c085e9c77d140b77233 (patch)
treeda4ff9203cef65e41e4110909df2e3296e178868 /web/js/map-bing-ol.js
parenta049a21d86ae8f4b92f3cf7c78f96ab777a9a88f (diff)
Allow one more zoom level on most map types.
Not on StreetView/OpenMap Local based, which are not available.
Diffstat (limited to 'web/js/map-bing-ol.js')
-rw-r--r--web/js/map-bing-ol.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js
index 179238633..c44cf96f8 100644
--- a/web/js/map-bing-ol.js
+++ b/web/js/map-bing-ol.js
@@ -66,7 +66,7 @@ OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, {
options = OpenLayers.Util.extend({
/* Below line added to OSM's file in order to allow minimum zoom level */
maxResolution: 156543.03390625/Math.pow(2, options.zoomOffset || 0),
- numZoomLevels: 19,
+ numZoomLevels: 20,
sphericalMercator: true,
buffer: 0
}, options);