aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-02-23 15:42:49 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-02-23 15:43:09 +0000
commitbde98cf4346dc008120582464d68b8509d9365b3 (patch)
treee3a27d93369f82c2e81e12bffe3a67d915aa1b41 /web/js/map-OpenLayers.js
parent8c11595f4a7bb22c5c96e48aefaa664faacd0099 (diff)
Initial desktop making map whole of background.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 3bf2078e7..e7848c5bb 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -207,6 +207,9 @@ $(function(){
);
fixmystreet.map.setCenter(centre, fixmystreet.zoom || 3);
}
+ if ($('#map_box').data('size')=='full') {
+ fixmystreet.map.pan(-200, -25, { animate: false });
+ }
if (document.getElementById('mapForm')) {
var click = new OpenLayers.Control.Click();