aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing-ol.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-25 20:55:25 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-25 20:55:25 +0100
commit99c9095b0028e6139e2732f7405991b1d8a5cc98 (patch)
tree873e57c5a37006ecc9c332f282c34ce1054c7c00 /web/js/map-bing-ol.js
parent498b51cc608c4fbd8bae187bf1c9849177134e58 (diff)
Integrate BingOL map package into the OSM one, thereby gaining non-JS functionality etc.
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 254d407f4..00c3a487f 100644
--- a/web/js/map-bing-ol.js
+++ b/web/js/map-bing-ol.js
@@ -51,7 +51,7 @@ OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, {
OpenLayers.Util.indexOf(this.serverResolutions, res) :
this.map.getZoom() + this.zoomOffset;
- if (z == 16) {
+ if (z >= 16) {
var url = [
"http://a.os.openstreetmap.org/sv/${z}/${x}/${y}.png",
"http://b.os.openstreetmap.org/sv/${z}/${x}/${y}.png",