equal
deleted
inserted
replaced
7 tilesUrl: "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", |
7 tilesUrl: "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", |
8 location: Ember.computed('geoInfo', function() { |
8 location: Ember.computed('geoInfo', function() { |
9 return [this.get('geoInfo.latitude'), this.get('geoInfo.longitude')]; |
9 return [this.get('geoInfo.latitude'), this.get('geoInfo.longitude')]; |
10 }), |
10 }), |
11 hasCoordinates: Ember.computed('geoInfo', function() { |
11 hasCoordinates: Ember.computed('geoInfo', function() { |
12 return Boolean(this.get('geoInfo').longitude) && Boolean(this.get('geoInfo').latitude); |
12 return Boolean(this.get('geoInfo.longitude')) && Boolean(this.get('geoInfo.latitude')); |
13 }), |
13 }), |
14 geonamesLink: Ember.computed('geoInfo.ref-locs', function() { |
14 geonamesLink: Ember.computed('geoInfo.ref-locs', function() { |
15 let link = null; |
15 let link = null; |
16 this.get('geoInfo.ref-locs').forEach(l => { |
16 this.get('geoInfo.ref-locs').forEach(l => { |
17 if(commonUtils.isGeonamesLink(l)) { |
17 if(commonUtils.isGeonamesLink(l)) { |