Global

Members

layer :ImageLayer.<ImageWMS>

Type:
  • ImageLayer.<ImageWMS>
Source:

Methods

addListener(listener, supportedEvents)

add a listener that will be called for one or several given events
Parameters:
Name Type Description
listener function Callback
supportedEvents Array | string | object events on which the listener will be called. if undefined or "*", it will be called for any events
Source:

dispatch(event)

Call listeners associated with the given event
Parameters:
Name Type Description
event object | string an event name, or an object with a 'type' property having the event name. In this case other properties are parameters for listeners.
Source:

removeListener(listenerToRemove, supportedEvents)

remove a listener that is associated for one or several given events
Parameters:
Name Type Description
listenerToRemove function Callback
supportedEvents Array | string list of events from which the listener will be removed. if undefined or "*", it will be removed from any events
Source:

Events

beforetreecreated

Event when the tree is going to be created
Source:

layersadded

Event when layers have been added
Source:

mapcreated

Event when the map has been created
Source: