Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

geoObject.addon.balloon

Note. The constructor of the geoObject.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 a geo object. Adds the IBalloonOwner 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.balloon is enabled separately after creating GeoObject, the IBalloonOwner interface won't be added. Then in order to initialize the balloon manager, you will need to use the geoObject.addon.balloon#get method.

Methods

Attention! Do not create instances of the static class.

Methods

NameReturnsDescription
get(geoObject)

IPopupManager

Returns geo object balloon manager.

Methods details

get

Returns geo object balloon manager.

Parameters:

ParameterDefault valueDescription
geoObject*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: IGeoObject

Geo object

* Mandatory parameter/option.

Example:

ymaps.geoObject.addon.balloon.get(geoObject)