diff app/view/panel/Map.js @ 1288:08085b7d1d0b

Ortszuordnung: Search, new orte, display and validity check
author Maximilian Krambach <mkrambach@intevation.de>
date Fri, 27 Jan 2017 13:25:14 +0100
parents 291df0037835
children bfdc00c24baf
line wrap: on
line diff
--- a/app/view/panel/Map.js	Thu Jan 26 17:33:56 2017 +0100
+++ b/app/view/panel/Map.js	Fri Jan 27 13:25:14 2017 +0100
@@ -63,10 +63,10 @@
             zoomMethod: null,
             // initializing with view centered on germany
             center: new OpenLayers.LonLat(1160000,6694000),
-            zoom: 7
         });
         this.map.setOptions(this.mapOptions);
         this.map.addLayers(this.layers);
+        this.map.zoomTo(6);
         var keyControl = new OpenLayers.Control.KeyboardDefaults();
         this.map.addControl(keyControl);
         keyControl.activate();

http://lada.wald.intevation.org