Methods
addLayer
- addLayer<T>(name: string, layer: T, allowReplace?: boolean | undefined): T
-
Type parameters
Parameters
-
name: string
-
layer: T
-
Optional allowReplace: boolean | undefined
Returns T
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