comparison app/view/panel/Map.js @ 895:2b7bcb778f0a

Jsduck debug
author Dustin Demuth <dustin@intevation.de>
date Thu, 23 Jul 2015 17:14:05 +0200
parents 07dfcdf5b41f
children 1df6b6210b42
comparison
equal deleted inserted replaced
894:a1d72228af00 895:2b7bcb778f0a
27 scales: [5000000, 3000000, 2000000, 1000000, 500000, 250000, 100000, 25000], 27 scales: [5000000, 3000000, 2000000, 1000000, 500000, 250000, 100000, 25000],
28 units: 'dd', 28 units: 'dd',
29 projection: new OpenLayers.Projection('EPSG:4326') 29 projection: new OpenLayers.Projection('EPSG:4326')
30 }, 30 },
31 31
32 /**
33 * Array of OpenLayers.Layer objects.
34 */
35 32
36 /** 33 /**
37 * @private 34 * @private
38 * Initialize the map panel. 35 * Initialize the map panel.
39 */ 36 */
68 this.tbar = Ext.create('Lada.view.widget.MapToolbar'); 65 this.tbar = Ext.create('Lada.view.widget.MapToolbar');
69 this.addEvents('featureselected'); 66 this.addEvents('featureselected');
70 this.callParent(arguments); 67 this.callParent(arguments);
71 }, 68 },
72 69
70 /**
71 * Initialise the Data and Create an
72 * Array of OpenLayers.Layer objects.
73 */
73 initData: function() { 74 initData: function() {
74 var me = this; 75 var me = this;
75 this.locationFeatures = []; 76 this.locationFeatures = [];
76 this.locationStore = Ext.data.StoreManager.get('locations'); 77 this.locationStore = Ext.data.StoreManager.get('locations');
77 for (var i = 0; i < this.locationStore.count(); i++) { 78 for (var i = 0; i < this.locationStore.count(); i++) {

http://lada.wald.intevation.org