aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-26 11:00:13 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-26 11:00:13 +0100
commit5ba5d7c9e0ea109b00287f2649fb51ec991a21bd (patch)
treecc0bbbd05f4b8799e57288fe9e06387c5dfbee66 /web/js/map-OpenLayers.js
parent99c9095b0028e6139e2732f7405991b1d8a5cc98 (diff)
Carry map parameter through URIs, default zoom level change.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index d912b4b5f..22492e400 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -24,7 +24,7 @@ YAHOO.util.Event.onContentReady('map', function() {
new OpenLayers.Projection("EPSG:4326"),
fixmystreet.map.getProjectionObject()
);
- fixmystreet.map.setCenter(centre, fixmystreet.zoom || 2);
+ fixmystreet.map.setCenter(centre, fixmystreet.zoom || 3);
}
if (document.getElementById('mapForm')) {