aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-23 21:04:02 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-23 21:04:02 +0000
commit7a68acdf7010d477755cb2dd61ad30fb70be03a6 (patch)
treebf8d548044a1c4df5e877cb07c299ad0baba38e2 /web/js
parentb8796cf6afc5f3ccbadbfdd749773447230482a3 (diff)
Always have transitionEffect, and no buffer for nicer interaction.
Diffstat (limited to 'web/js')
-rw-r--r--web/js/map-OpenLayers.js1
-rw-r--r--web/js/map-bing-ol.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 3b887c10d..1134bafb7 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -12,6 +12,7 @@ YAHOO.util.Event.onContentReady('map', function() {
fixmystreet.layer_options = OpenLayers.Util.extend({
zoomOffset: fixmystreet.ZOOM_OFFSET,
+ transitionEffect: 'resize',
numZoomLevels: 4
}, fixmystreet.layer_options);
var layer = new fixmystreet.map_type("", fixmystreet.layer_options);
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js
index 047cdff52..254d407f4 100644
--- a/web/js/map-bing-ol.js
+++ b/web/js/map-bing-ol.js
@@ -18,6 +18,7 @@ OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, {
numZoomLevels: 18,
transitionEffect: "resize",
sphericalMercator: true,
+ buffer: 0,
attribution: "© Microsoft / OS 2010"
}, options);
var newArguments = [name, url, options];