Tooltip Control
Last updated
Last updated
Tooltip control shows the value (and the direction for vector datasets) at current mouse position on hovering the raster layer
TooltipControl(config: TooltipConfig = {})
unitFormat
Unit definition to be used for formatting.
directionType
Default value: INWARD
Direction type to be used for formatting.
directionFormat
Default value: VALUE
Direction format to be used for formatting.
followCursor
Type: boolean, optional
Default value: false
Follow the mouse cursor position.
followCursorOffset
Type: number, optional
Default value: 16
Offset from the mouse cursor position.
followCursorPlacement
Default value: BOTTOM
Placement from the mouse cursor position.
Updates the tooltip displayed with the given rasterPointProperties
or hides the tooltip.
Updates the tooltip displayed with the given pickingInfo
or hides the tooltip.
Type: , required
Type: , optional
Type: , optional
Type: , optional
See for common Control methods.