-
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:float, y:float, l:float}
Passes Lat, Long and Zoom values (triggered by router) -
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 (triggered by LayerItemView)
-
selection:enabled, {id:string, enabled:boolean}
Event triggered to enable/disable the tool button from the tool view (triggered by DownloadController) -
selection:activated, {id:string, active:boolean}
Event triggered when a selection tool is activated/deactivated from the tool view (triggered by ToolItemView) - selection:changed, geometry (Openlayers.Geometry) Fires when new geometry selected in map, can be null when selections are removed. The type has to be changed to a generic type (triggered by MapView)
- 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