Methods
clearMouseTooltip
- clearMouseTooltip(): void
enableFeatureTooltips
- enableFeatureTooltips(enabled: boolean): void
getLayerSet
-
Parameters
-
name: string
-
Default value bCreate: boolean = false
-
getOverviewMap
- getOverviewMap(): olOverviewMap
handleFeatureTooltipMouseMove
handleMouseTooltipMouseMove
initContext
- initContext(layerSet: MgLayerSet, overviewMapElementSelector?: undefined | function): void
-
Parameters
-
-
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>
updateOverviewMapElement
- updateOverviewMapElement(overviewMapElementSelector: function): void
-
Parameters
-
overviewMapElementSelector: function
Returns void
Provides contextual information for a map viewer
MapViewerContext