| | |
| | | this._eventHandlers.push(this.map.on("mouse-move", lang.hitch(this, this._onMouseMove))); |
| | | AppEvent.addAppEventListener(AppEvent.SWITCH_BASEMAP, lang.hitch(this, this.onSwitchBaseMap)); |
| | | AppEvent.addAppEventListener(AppEvent.ADD_TOP_MOST_LAYER, lang.hitch(this, this.onAddTopMostLayer)); |
| | | AppEvent.addAppEventListener("goto", lang.hitch(this, this.goto)); |
| | | }, |
| | | goto: function (evt) { |
| | | this.map.centerAndZoom(new Point(evt.x,evt.y, new SpatialReference({ wkid: 4326 })), 14); |
| | | }, |
| | | onload: function () { |
| | | //var listNode = this.map.attribution.listNode; |