Skip to main content

All Events

Application events are messages that are sent from the application and listened to, within the application, to perform actions and/or notify others of an event.

The application will listen for all of the events outlined in the table below. Additionally, the application will forward these events onto any parent or child iframes within OmniSpatial (such as, integrations).

Overview

EventDescription
apply-panel-layoutEvent fired to trigger action to apply a new panel layout
apply-display-settingsEvent fired to trigger a change of display settings
add-panel-to-layoutEvent fired to trigger action to add a panel to the current layout
remove-panel-from-layoutEvent fired to trigger action to remove a panel from the current layout
replace-panel-in-layoutEvent fired to trigger action to replace a panel with another
replace-panel-in-layoutEvent fired to trigger action to replace a panel with anotherY
panel-layout-changeEvent fired when the active panel layout is modified
layout-list-changeEvent fired when the layout list data has changed. This could be due to favorites or layout overload changes
panel-layout-pop-out-closedEvent fired when a panel layout pop out window has been closed
set-mapEvent fired to trigger setting the map
add-layerEvent fired to trigger adding a layer to the existing map
highlightEvent fired to highlight a target
un-highlightEvent fired to un-highlight a target
emphasizeEvent fired to emphasize a target
go-toTriggers action to go to location
show-side-menu-right-panelTriggers action to show a panel on the right side menu
restrict-side-menu-left-panelTriggers action to restrict the left side menu panel
selectTriggers action to select feature(s) within the application
select-from-mapTriggers action to select a feature from a map event
before-map-changeEvent fired before the application's "map" instance is changed
map-changeEvent fired when the map instance changed
trigger-resource-syncEvent fired to trigger a resource synchronization
get-directionsEvent fired to kick-off the action of displaying directions
apply-overridesEvent fired to kick-off the action of overriding configuration within the application
app-bootstrappedEvent fired when the application has been bootstrapped
app-readyEvent fired once the application has initially loaded
app-loginEvent fired when the user has been initially logged in
position-changeEmitted when the GPS position is changed
heading-changeEvent fired to trigger action to apply a new panel layout
gps-position-changeEmitted when the GPS position is changed
panel-component-readyEvent fired when a panel component has loaded
panel-component-destroyedEvent fired when a panel component has been destroyed (closed)

Event Details

panel-component-ready

The panel-component-ready event will be fired every time a new panel component has been loaded in Omni (and is ready).

NOTE: panel components are configurable and users can remove and add components as they desire. Subsequently, this event can be triggered many times in a session.

panel-component-destroyed

The panel-component-destroyed event will be fired every time that a panel component is closed/destroyed.