Returns the LayerTimes
instance that can be used to fetch and return the valid times for
AerisWeather Maps layers.
Returns whether layer metadata is already cached.
Returns whether the specified layer exists within AMP.
Return the layer metadata.
If the data has not already been loaded and cached, this method will perform a new request before resolving the Promise with the data.
Returns the layer metadata that matches the query based on the specified property and value.
If strict
is true
, then the check will perform an equal comparison rather than a simple
pattern match.
Returns an array of layer metadata for all layers that match the query based on the specified property and values.
If strict
is true
, then the check will perform an equal comparison rather than a simple
pattern match.
Returns an array of future layer metadata.
Returns an array of future layer identifiers.
Returns the layer groups.
Returns whether the listeners are registered for the specified event name.
Returns whether the specified layer identifier has metric data, specifically for text layers.
Returns whether the layer for the identifier is part of the specified group.
If strict
is true
, then the check will perform an equal comparison rather than a simple
pattern match.
Returns whether the specified layer identifier is a base layer.
Returns whether the specified layer identifier is a future layer.
Returns whether the specified layer identifier is an overlay layer.
Returns whether layer metadata is currently being requested.
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
Triggers the specified event so that all registered listeners will be executed with the specified parameters.
Event name to trigger
Generated using TypeDoc
A
Layers
object is responsible for fetching and caching Aeris Maps (AMP) layers metadata as well as providing utility methods for returning and comparing layer information.