Returns whether the layer is currently hidden.
Layer identifier on the map.
Map currently associated with the layer.
Returns the current layer opacity.
Native map object(s) that gets rendered to the map.
Adds the layer to the specified map.
Returns whether the layer currently exists on the map.
Returns whether the listeners are registered for the specified event name.
Hides the layer on the map.
Forces a redraw of the layer on the map.
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
Removes the layer from the map it is currently active on.
Changes the opacity of the layer.
Shows the layer on the map.
Triggers the specified event so that all registered listeners will be executed with the specified parameters.
Event name to trigger
Generated using TypeDoc
MapLayer
is a container class that is responsible for creating and managing a layer representation on an interactive map.