Methods
addLayer
- addLayer<T>(name: string, layer: T, allowReplace?: undefined | false | true): T
-
Type parameters
Parameters
-
name: string
-
layer: T
-
Optional allowReplace: undefined | false | true
Returns T
The added layer
getLayer
- getLayer<T>(name: string, factory: function): T
-
Type parameters
Parameters
-
name: string
-
factory: function
Returns T
hasLayer
- hasLayer(name: string): boolean
-
Parameters
Returns boolean
moveDown
- moveDown(name: string): number
-
Parameters
Returns number
moveUp
- moveUp(name: string): number
-
Parameters
Returns number
removeLayer
- removeLayer(name: string): olLayerBase | undefined
-
Parameters
Returns olLayerBase
|
undefined
Manages custom layers for a map
ILayerManager