map.addon.balloon

Note

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

Static object.

The module that makes it possible to use a balloon for the map. Adds the IBalloonOwner 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.balloon if enabled separately after creating Map, the IBalloonOwner interface won't be added. Then in order to initialize the balloon manager, you will need to use the map.addon.balloon#get method.

Methods

Methods

Name

Returns

Description

get(map)

IPopupManager

Returns map balloon manager.

Methods details

get

{IPopupManager} get(map)

Returns map balloon manager.

Parameters:

Parameter

Default value

Description

map*

Type: Map

Map

* Mandatory parameter/option.

Example:

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