Constructors
constructor
-
Parameters
-
map: olMap
-
-
initTooltipEnabled: boolean
Accessors
isMouseOverTooltip
- get isMouseOverTooltip(): boolean
Methods
clearMouseTooltip
- clearMouseTooltip(): void
enableFeatureTooltips
- enableFeatureTooltips(enabled: boolean): void
getLayerSet
-
Parameters
-
name: string
-
Default value bCreate: boolean = false
-
getOverviewMap
- getOverviewMap(): olOverviewMap
handleFeatureTooltipMouseMove
handleMouseTooltipMouseMove
hideSelectedVectorFeaturesTooltip
- hideSelectedVectorFeaturesTooltip(): void
initContext
- initContext(layerSet: MgLayerSet, locale?: undefined | string, overviewMapElementSelector?: undefined | function): void
-
Parameters
-
-
Optional locale: undefined | string
-
Optional overviewMapElementSelector: undefined | function
Returns void
isFeatureTooltipEnabled
- isFeatureTooltipEnabled(): boolean
queryFeatureTooltip
- queryFeatureTooltip(pixel: [number, number]): void
refreshMap
-
Parameters
-
name: string
-
Default value mode: RefreshMode = RefreshMode.LayersOnly | RefreshMode.SelectionOnly
Returns void
refreshOnStateChange
- refreshOnStateChange(map: RuntimeMap, 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
setMouseTooltip
- setMouseTooltip(text: string): void
showSelectedFeature
- showSelectedFeature(mapExtent: Bounds, size: Size, map: RuntimeMap, selectionColor: string, featureXml: string | undefined): Promise<void>
-
Parameters
-
-
-
-
selectionColor: string
-
featureXml: string | undefined
Returns Promise<void>
showSelectedVectorFeatures
- showSelectedVectorFeatures(features: Collection<Feature>, pixel: [number, number], locale?: undefined | string): void
-
Parameters
-
features: Collection<Feature>
-
pixel: [number, number]
-
Optional locale: undefined | string
Returns void
updateOverviewMapElement
- updateOverviewMapElement(overviewMapElementSelector: function): void
-
Parameters
-
overviewMapElementSelector: function
Returns void
Provides contextual information for a map viewer