geoObject.addon.hint

Note

The constructor of the geoObject.addon.hint class is hidden, as this class is not intended for autonomous initialization.

Static object.

The module that makes it possible to use a hint for a geo object. Adds the IHintOwner interface to the geo object (GeoObject). When enabling package.full (the standard set of modules), it is available by default. If GeoObject is enabled separately, this module must be explicitly specified in the loader. If geoObject.addon.hint is enabled separately after creating GeoObject, the IHintOwner interface won't be added. Then in order to initialize the balloon manager, you will need to use the geoObject.addon.hint#get method.

Methods

Methods

Name

Returns

Description

get(geoObject)

IPopupManager

Returns geo object hint manager.

Methods details

get

{IPopupManager} get(geoObject)

Returns geo object hint manager.

Parameters:

Parameter

Default value

Description

geoObject*

Type: IGeoObject

Geo object

* Mandatory parameter/option.

Example:

ymaps.geoObject.addon.hint.get(geoObject)