aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing-ol.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-10-11 16:51:09 +0100
committerMatthew Somerville <matthew@mysociety.org>2013-10-11 19:41:32 +0100
commit0407e599b3dff6ac04f89acb12a4727ee3d481bc (patch)
tree9db3efb0e9382bfc070aca05359528c5f0bffa61 /web/js/map-bing-ol.js
parenta4175ffd108308ad6c848c0dbac3cb05a58b4eec (diff)
Upgrade main OpenLayers to 2.13.1.
Diffstat (limited to 'web/js/map-bing-ol.js')
-rw-r--r--web/js/map-bing-ol.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js
index f48f21c48..846133cd5 100644
--- a/web/js/map-bing-ol.js
+++ b/web/js/map-bing-ol.js
@@ -85,9 +85,8 @@ OpenLayers.Layer.BingUK = OpenLayers.Class(OpenLayers.Layer.XYZ, {
var url = [];
options = OpenLayers.Util.extend({
/* Below line added to OSM's file in order to allow minimum zoom level */
- maxResolution: 156543.0339/Math.pow(2, options.zoomOffset || 0),
+ maxResolution: 156543.03390625/Math.pow(2, options.zoomOffset || 0),
numZoomLevels: 19,
- transitionEffect: "resize",
sphericalMercator: true,
buffer: 0
//attribution: "© Microsoft / OS 2010"