Skip to content
santilland edited this page Sep 23, 2013 · 17 revisions

Map

  • '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

  • '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

  • 'dialog:close', "download" (Download Controller)

Product Collection

  • 'productCollection:update-sort', {model:this.model, position:index} (LayerItemView)
  • 'productCollection:sort-updated' (LayerSelectionView)

Router

  • 'Router:SetUrl', { x: data.object.center.lon, y: data.object.center.lat, l: data.object.zoom} (MapView)

Time

  • 'time:change', {start:, end:} - Fired when selection in TimeSlider changes(TimeSliderView)

Navbar Events (Config File)

  • 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"
Clone this wiki locally