-
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:int}
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)
-
ui:close, string
Event triggered to close a ui view specified by the name(string) (triggered by DownloadController) - Events added in configuration File specifying which events to trigger when clicked:
- ui:open:layercontrol
- ui:open:toolselection
- Events added in configuration File specifying which events to trigger when clicked:
- dialog:open:about
- dialog:open:info
- dialog:open:help
-
productCollection:updateSort, {model:LayerModel, position:int}
Event triggered when product (Layer) changes position (triggered by LayerItemView) -
productCollection:sortUpdated
Event triggered when the product collection was updated (e.g. new order) (triggered by LayerSelectionView)
-
router:setUrl, { x:float, y:float, l:int}
Event triggered when map position or zoom is changed. Event is used to keep track of map position and zoom as route (allowing passing current URL for current map visualization) (triggered by MapView)
-
time:change, {start:date, end:date}
Fired when selection in TimeSlider changes (triggered by TimeSliderView)