Properties
Protected _customLayers
_customLayers: {}
Type declaration
[name: string]: { layer: LayerBase; order: number }
layer: LayerBase
order: number
Protected hoverHighlightLayer
Protected wmsSelOverlayLayer
Methods
addHighlightedFeature
- addHighlightedFeature(feature: Feature<Geometry>): void
Parameters
feature: Feature<Geometry>
Returns void
addLayer
- addLayer<T>(map: Map, name: string, layer: T, allowReplace?: boolean): ILayerInfo
Type parameters
Parameters
map: Map
name: string
layer: T
Optional allowReplace: boolean
addScratchFeature
- addScratchFeature(feat: Feature<Geometry>): void
addWmsSelectionOverlay
- addWmsSelectionOverlay(feat: Feature<Geometry>): void
attach
- attach(map: Map, ovMapControl: OverviewMap, bSetLayers?: boolean): void
Parameters
map: Map
ovMapControl: OverviewMap
bSetLayers: boolean = true
Returns void
clearHighlightedFeatures
- clearHighlightedFeatures(): void
clearScratchLayer
- clearScratchLayer(): void
clearWmsSelectionOverlay
- clearWmsSelectionOverlay(): void
detach
- detach(map: Map, ovMapControl: OverviewMap): void
Parameters
map: Map
ovMapControl: OverviewMap
Returns void
getLayer
- getLayer<T>(name: string): undefined | T
Type parameters
Parameters
Returns undefined | T
getLayersForOverviewMap
- getLayersForOverviewMap(): BaseLayer[]
getMetersPerUnit
- getMetersPerUnit(): number
getProjection
- getProjection(): ProjectionLike
hasLayer
- hasLayer(name: string): boolean
Parameters
Returns boolean
Protected registerSourceEvents
- registerSourceEvents(source: Source): void
removeHighlightedFeature
- removeHighlightedFeature(feature: Feature<Geometry>): void
Parameters
feature: Feature<Geometry>
Returns void
removeLayer
- removeLayer(map: Map, name: string): undefined | BaseLayer
Parameters
Returns undefined | BaseLayer
resolutionToScale
- resolutionToScale(resolution: number): number
scaleToResolution
- scaleToResolution(scale: number): number
showActiveSelectedFeature
- showActiveSelectedFeature(mapExtent: Bounds, size: Size, uri: string): void
tryGetSubjectLayer
- tryGetSubjectLayer(): undefined | BaseLayer
Returns undefined | BaseLayer
Abstract tryGetWmsSource
- tryGetWmsSource(): undefined | [BaseLayer, ImageWMS | TileWMS]
Returns undefined | [BaseLayer, ImageWMS | TileWMS]
LayerSetGroupBase