Properties
projection
projection: string
Methods
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
getLayersForOverviewMap
- getLayersForOverviewMap(): olLayerBase[]
getMetersPerUnit
- getMetersPerUnit(): number
refreshMap
- refreshMap(mode?: RefreshMode.LayersOnly | RefreshMode.SelectionOnly): void
-
Parameters
-
Default value mode: RefreshMode.LayersOnly | RefreshMode.SelectionOnly = RefreshMode.LayersOnly | RefreshMode.SelectionOnly
Returns void
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