create Tooltip
Creates a tooltip associated with a specified node and displays it on the map.
Return
Parameters
The MPINavigatable.MPINode on which the tooltip will be displayed. Represents the target of the tooltip.
The HTML content to be displayed within the tooltip. Allows for rich formatted text and images.
Configuration options for the tooltip, defined by MPIOptions.Tooltip.
A callback function that is called after the tooltip is created. It receives the tooltip's ID as a parameter, which can be used for further reference. If the tooltip could not be created, null
is passed to the callback.
Creates a tooltip associated with a specified coordinate and displays it on the map.
Return
Parameters
The MPIMap.MPICoordinate on which the tooltip will be displayed. Represents the target of the tooltip.
The HTML content to be displayed within the tooltip. Allows for rich formatted text and images.
Configuration options for the tooltip, defined by MPIOptions.Tooltip.
A callback function that is called after the tooltip is created. It receives the tooltip's ID as a parameter, which can be used for further reference. If the tooltip could not be created, null
is passed to the callback.