Documentation
Reference
2.1.53 (current version)
collection
interactivityModel
Interfaces

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

Attention! Do not create instances of the static class.

Methods

NameReturnsDescription
get(geoObject)

IPopupManager

Returns geo object hint manager.

Methods details

get

Returns geo object hint manager.

Parameters:

ParameterDefault valueDescription
geoObject*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: IGeoObject

Geo object

* Mandatory parameter/option.

Example:

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