equal
deleted
inserted
replaced
97 function handleGoHome() { |
97 function handleGoHome() { |
98 map.dataProvider = continentsDataProvider; |
98 map.dataProvider = continentsDataProvider; |
99 map.validateNow(); |
99 map.validateNow(); |
100 } |
100 } |
101 function handleMapObjectClick (event) { |
101 function handleMapObjectClick (event) { |
102 console.log("bbox: ", event.mapObject.displayObject.node.getBBox()); |
|
103 if (event.mapObject.id === "backButton") { |
102 if (event.mapObject.id === "backButton") { |
104 handleGoHome(); |
103 handleGoHome(); |
105 } |
104 } |
106 _this.get('filter').set('location', event.mapObject.title); |
105 _this.get('filter').set('location', event.mapObject.title); |
107 } |
106 } |