19 color: 'rgba(113,132,141,.2)', |
19 color: 'rgba(113,132,141,.2)', |
20 |
20 |
21 filter: Ember.inject.service(), |
21 filter: Ember.inject.service(), |
22 locationObserver: Ember.observer('filter.location', function() { |
22 locationObserver: Ember.observer('filter.location', function() { |
23 if(!this.get('filter').get('location')) { |
23 if(!this.get('filter').get('location')) { |
24 this.sendAction('setLocation', 'world'); |
24 this.sendAction('setLocation', '6295630'); |
25 } |
25 } |
26 }), |
26 }), |
27 |
27 |
28 geostats: [], |
28 geostats: [], |
29 observerGeostats: Ember.observer('geostats', function() { |
29 observerGeostats: Ember.observer('geostats', function() { |
30 if(this.get('map')) { |
30 if(this.get('map')) { |
31 if(this.get('map').selectedObject.id) { |
31 if(this.get('map').selectedObject.id) { |
32 if(this.get('map').selectedObject.parentObject.mapVar === this.get('countriesMapVar')) { |
32 if(this.get('map').selectedObject.parentObject.mapVar === this.get('countriesMapVar')) { |
33 if(this.get('map').selectedObject.id === 'FR') { |
33 if(this.get('map').selectedObject.id === '3017382') { |
34 this.setFranceAreas(); |
34 this.setFranceAreas(); |
35 this.set('dataProvider', { |
35 this.set('dataProvider', { |
36 'mapVar': this.get('franceMapVar'), |
36 'mapVar': this.get('franceMapVar'), |
37 'getAreasFromMap': true, |
37 'getAreasFromMap': true, |
38 'areas': this.get('franceAreas') |
38 'areas': this.get('franceAreas') |