addToolTipProvider Method

Register a new ToolTipProvider to customize the locate tooltip.

addToolTipProvider(provider: ToolTipProvider): () => void

@throws Error if provider is already registered.

@returns a function that may be called to remove this provider (in lieu of calling dropToolTipProvider.)

Parameter Type Description
provider ToolTipProvider The new tooltip provider to add.

Returns - () => void

a function that may be called to remove this provider (in lieu of calling dropToolTipProvider.)

Defined in

Last Updated: 14 November, 2024