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

Methods

Name

Returns

Description

get(geoObject)

IPopupManager

Returns geo object balloon manager.

Methods details

get

{IPopupManager} get(geoObject)

Returns geo object balloon manager.

Parameters:

Parameter

Default value

Description

geoObject*

Type: IGeoObject

Geo object

* Mandatory parameter/option.

Example:

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