diff --git a/station_map_www.js b/station_map_www.js index 2f65a42..43dd57e 100644 --- a/station_map_www.js +++ b/station_map_www.js @@ -2,7 +2,7 @@ * JavaScript code to generate maps used by the * Seismological Observatory of the Ruhr-University Bochum * - * Copyright 2012 Kasper D. Fischer + * Copyright 2013 Kasper D. Fischer * * License * @@ -61,8 +61,7 @@ function init(showGoogle, showStations, showQuakes, noFrils) { new OpenLayers.Control.Navigation(), new OpenLayers.Control.Permalink({anchor: true}), new OpenLayers.Control.ScaleLine({geodesic: true}) - ], - zoom: 9 + ] } ); }; @@ -218,9 +217,6 @@ function init(showGoogle, showStations, showQuakes, noFrils) { if (!map.getCenter()) { map.setCenter(new OpenLayers.LonLat(7.5, 51.8).transform('EPSG:4326','EPSG:900913'), 9); } - /* if (!map.getZoom()) { - map.zoomTo(9); - } */ // Enable animated zoom for (var i=map.layers.length-1; i>=0; --i) {