Properties
projection
projection: string
Methods
addLayer
- addLayer<T>(map: olMap, name: string, layer: T, allowReplace?: undefined | true | false): T
-
Type parameters
Parameters
-
map: olMap
-
name: string
-
layer: T
-
Optional allowReplace: undefined | true | false
Returns T
attach
- attach(map: olMap, ovMapControl: olOverviewMap, bSetLayers?: boolean): void
-
Parameters
-
map: olMap
-
ovMapControl: olOverviewMap
-
Default value bSetLayers: boolean = true
Returns void
detach
- detach(map: olMap, ovMapControl: olOverviewMap): void
-
Parameters
-
map: olMap
-
ovMapControl: olOverviewMap
Returns void
getLayer
- getLayer<T>(map: olMap, name: string, factory: function): T
-
Type parameters
Parameters
-
map: olMap
-
name: string
-
factory: function
Returns T
getLayersForOverviewMap
- getLayersForOverviewMap(): olLayerBase[]
getMetersPerUnit
- getMetersPerUnit(): number
hasLayer
- hasLayer(name: string): boolean
-
Parameters
Returns boolean
moveDown
- moveDown(map: olMap, name: string): number
-
Parameters
Returns number
moveUp
- moveUp(map: olMap, name: string): number
-
Parameters
Returns number
refreshMap
-
Parameters
-
Default value mode: RefreshMode = RefreshMode.LayersOnly | RefreshMode.SelectionOnly
Returns void
removeLayer
- removeLayer(map: olMap, name: string): olLayerBase | undefined
-
Parameters
Returns olLayerBase
|
undefined
resolutionToScale
- resolutionToScale(resolution: number): number
-
Parameters
Returns number
scaleToResolution
- scaleToResolution(scale: number): number
-
Parameters
Returns number
showActiveSelectedFeature
- showActiveSelectedFeature(mapExtent: Bounds, size: Size, uri: string): void
update
- update(showGroups: string[] | undefined, showLayers: string[] | undefined, hideGroups: string[] | undefined, hideLayers: string[] | undefined): void
-
Parameters
-
showGroups: string[] | undefined
-
showLayers: string[] | undefined
-
hideGroups: string[] | undefined
-
hideLayers: string[] | undefined
Returns void
updateSelectionColor
- updateSelectionColor(color: string): void