From b619bb6a3c3602c73e7f7e953bfff90854a68d46 Mon Sep 17 00:00:00 2001 From: "Kasper D. Fischer" Date: Fri, 22 Feb 2013 15:26:37 +0000 Subject: [PATCH] Code cleaning. --- station_map_www.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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) {