Initializes a map view instance with the specified target and configuration object.
DOM element associated with the map's container.
Primary DOM element associated with the view.
DOM element associated with the map.
Aeris account used for the map data requests.
Map configuration instance managing the underlying map imagery.
Legend view associated with the map.
Configuration options for the view.
Animation timeline used to control the map view's current time and animation.
Returns the DOM element within the view's container for the specified selector.
Returns whether the listeners are registered for the specified event name.
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 map layers.
The legend displayed for the specified map layers can be overridden by providing a value for
the legend
parameter, which can either be an array of layer codes for multiple
auto-configured legends, or a single URL string for a single legend image.
Sets the legend type(s) or image URL to display. If a source URL is provided, then this image will be displayed regardless of which layer types exist on the map.
Sets the units to display on the map view.
Triggers the specified event so that all registered listeners will be executed with the specified parameters.
Event name to trigger
Generated using TypeDoc
A view object that displays and manages static map content using imagery from the Aeris Maps Platform (AMP).
A
MapView
instance does not support user interaction in regards to panning and zooming other support for static control elements to reload map content. If you need to support greater user interaction for map panning and zooming, use an instance ofMap
instead.