-
Notifications
You must be signed in to change notification settings - Fork 9
Event list
santilland edited this page Sep 23, 2013
·
17 revisions
- 'map:center', {x:x, y:y, l:l} Passes Lat, Long and Zoom values (router.js)
- 'map:layer:change', {name:string, isBaseLayer:boolean, visible:boolean} Passes Layer name and boolean values describing if layer is base layer and if visibility was activated or deactivated(LayerItemView)
- 'selection:enabled', {id:"download", enabled:true} ); (Download Controller)
- 'selection:changed', geometry - fires when new geometry selected in map, can be null when selection tool deactivated (MapView)
- selection:activated',this.model
- selection:deactivated',this.model
- 'dialog:close', "download" (Download Controller)
- 'productCollection:update-sort', {model:this.model, position:index} (LayerItemView)
- 'productCollection:sort-updated' (LayerSelectionView)
- 'Router:SetUrl', { x: data.object.center.lon, y: data.object.center.lat, l: data.object.zoom} (MapView)
- 'time:change', {start:, end:} - Fired when selection in TimeSlider changes(TimeSliderView)
- These events are raised from NavBarItemView when a NavBarItem is clicked:
- "ui:open:layercontrol"
- "ui:open:toolselection"
- "dialog:open:about"
- "dialog:open:info"
- "dialog:open:help"