comparison 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
comparison
equal deleted inserted replaced
1287:e317ba349204 1288:08085b7d1d0b
61 controls: [], 61 controls: [],
62 tileManager: null, 62 tileManager: null,
63 zoomMethod: null, 63 zoomMethod: null,
64 // initializing with view centered on germany 64 // initializing with view centered on germany
65 center: new OpenLayers.LonLat(1160000,6694000), 65 center: new OpenLayers.LonLat(1160000,6694000),
66 zoom: 7
67 }); 66 });
68 this.map.setOptions(this.mapOptions); 67 this.map.setOptions(this.mapOptions);
69 this.map.addLayers(this.layers); 68 this.map.addLayers(this.layers);
69 this.map.zoomTo(6);
70 var keyControl = new OpenLayers.Control.KeyboardDefaults(); 70 var keyControl = new OpenLayers.Control.KeyboardDefaults();
71 this.map.addControl(keyControl); 71 this.map.addControl(keyControl);
72 keyControl.activate(); 72 keyControl.activate();
73 this.bodyStyle = {background: '#fff'}; 73 this.bodyStyle = {background: '#fff'};
74 this.initData(); 74 this.initData();

http://lada.wald.intevation.org