From 83bfa3d8c656a9a1422a6f266c44b3d9c398fc51 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 21 Apr 2011 09:37:34 +0100 Subject: Start introducing variable zoom dependent on location. --- web/js/map-OpenLayers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js/map-OpenLayers.js') 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')) { -- cgit v1.2.3