diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 18:08:04 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 18:08:04 +0100 |
commit | 2e8794adaa69ea258b568b67b284eb143081b0cd (patch) | |
tree | 345a604e471df294c8201ba858446450969297f4 /web | |
parent | 349dd7c35e2ad5d1cef4c8e4a023ec3b17dd8d80 (diff) |
Template the rest of the maps. Some more complete than others.
Diffstat (limited to 'web')
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 1134bafb7..ed3ca4653 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, 2); + fixmystreet.map.setCenter(centre, fixmystreet.zoom || 2); } if (document.getElementById('mapForm')) { |