Methods
addLayer
- addLayer<T>(name: string, layer: T, allowReplace?: boolean | undefined): ILayerInfo
-
Type parameters
Parameters
-
name: string
-
layer: T
-
Optional allowReplace: boolean | undefined
addLayerFromParsedFeatures
getLayer
- getLayer<T>(name: string): T | undefined
-
Type parameters
Parameters
Returns T
|
undefined
hasLayer
- hasLayer(name: string): boolean
-
Parameters
Returns boolean
removeLayer
- removeLayer(name: string): olLayerBase | undefined
-
Parameters
Returns olLayerBase
|
undefined