Members
(constant) base64png :string
The started base 64 string for PNG image
Type:
- string
- Source:
(constant) base64pngNullData :string
The base 64 string for transparent PNG image
Type:
- string
- Source:
(constant) base64svg :string
The started base 64 string for SVG image
Type:
- string
- Source:
(constant) base64svgLineLayer :string
The base 64 string for https://raw.githubusercontent.com/qgis/QGIS/master/images/themes/default/mIconLineLayer.svg SVG image
Type:
- string
- Source:
(constant) base64svgOlLayer :string
The base 64 string for https://openlayers.org/theme/img/logo-dark.svg SVG image
Type:
- string
- Source:
(constant) base64svgPointLayer :string
The base 64 string for https://raw.githubusercontent.com/qgis/QGIS/master/images/themes/default/mIconPointLayer.svg SVG image
Type:
- string
- Source:
(constant) base64svgPolygonLayer :string
The base 64 string for https://raw.githubusercontent.com/qgis/QGIS/master/images/themes/default/mIconPolygonLayer.svg SVG image
Type:
- string
- Source:
(constant) base64svgRasterLayer :string
The base 64 string for https://raw.githubusercontent.com/qgis/QGIS/master/images/themes/default/mIconRasterLayer.svg SVG image
Type:
- string
- Source:
layer :ImageLayer.<ImageWMS>
Get the single WMS layer instance
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: