map.addon.hint

Note

The constructor of the map.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 the map. Adds the IHintOwner interface to the map (Map). When enabling package.full (the standard set of modules), it is available by default. If Map is enabled separately, this module must be explicitly specified in the loader. If map.addon.hint if enabled separately after creating Map, the IHintOwner interface won't be added. Then in order to initialize the balloon manager, you will need to use the map.addon.hint#get method.

Methods

Methods

Name

Returns

Description

get(map)

IPopupManager

Returns map hint manager.

Methods details

get

{IPopupManager} get(map)

Returns map hint manager.

Parameters:

Parameter

Default value

Description

map*

Type: Map

Map

* Mandatory parameter/option.

Example:

ymaps.map.addon.hint.get(myMap)