Initializes an interactive map application with the specified DOM target and configuration object.
Primary DOM element associated with the view.
The Aeris account to use when requesting data for the map.
Returns the underlying interactive map instance.
Returns the panel component instances for the application keyed by their type.
Returns the set of custom data sources for the application.
Adds a map content source to the application cache that can be toggled on and off using the unique key identifier. Note that this method does not render the source to the interactive map.
Identifier for the source
Type of map content source to use, tile
, vector
, geojson
or text
Configuration options for the source
Dismisses the application info panel if currently visible.
Returns the panel view associated with the specified key, if any.
Returns whether the listeners are registered for the specified event name.
Returns whether the application has finished initializing.
Removes a registered listener function for the specified event.
Name of the event to remove the listener for.
Handler function to remove so it won't be executed next time the event is triggered.
Registers a listener function to be executed each time an event occurs
Name of the event to listen for. Value can contain multiple event names separated by spaces to trigger the same handler function for each event name.
Handler function to be called when the event occurs
Registers a listener function to be executed the first time an event occurs.
Name of the event to listen for. Value can contain multiple event names separated by spaces to trigger the same handler function for each event name.
Handler function to be called when the event occurs
Sets the units to display on the underlying interactive map.
Shows the application info panel component using the specified view key, title and data.
Identifier associated with the view to render
Shows the application info panel component for the specified geographical coordinate. Data will be requested for the coordinate using the view's request instance
Coordinate to request data for
Identifier associated with the view to render
Triggers the specified event so that all registered listeners will be executed with the specified parameters.
Event name to trigger
Updates the configuration for the panel view associated with the specified key, if any.
The new options provided will be applied to the existing options for the panel, meaning new values will override the existing option values while other existing values will remain.
Generated using TypeDoc
An
InteractiveMapApp
object provides an full-featured weather map application that manages an interactive map and enables runtime interaction of map content using a series of panel view components.