Mercurial > lada > lada-client
comparison app/view/panel/Map.js @ 1055:65ea1c2a8c98
Updated orte window in messprogramme to new orte model.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 07 Mar 2016 11:19:49 +0100 (2016-03-07) |
parents | 981339d774b8 |
children | e4952906634d |
comparison
equal
deleted
inserted
replaced
1054:7e801af49eeb | 1055:65ea1c2a8c98 |
---|---|
79 initData: function() { | 79 initData: function() { |
80 var me = this; | 80 var me = this; |
81 | 81 |
82 if (!this.externalOrteStore) { | 82 if (!this.externalOrteStore) { |
83 this.locationStore = Ext.data.StoreManager.get('orte'); | 83 this.locationStore = Ext.data.StoreManager.get('orte'); |
84 this.addLocations(locationStore); | 84 this.addLocations(this.locationStore); |
85 } | 85 } |
86 }, | 86 }, |
87 | 87 |
88 selectFeature: function(model, record) { | 88 selectFeature: function(model, record) { |
89 var feature = this.featureLayer.getFeaturesByAttribute('id', record.get('id')); | 89 var feature = this.featureLayer.getFeaturesByAttribute('id', record.get('id')); |