Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Regions
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

Dynamically loading balloon content

Save as filesEdit on JSFiddle

The contents of the balloon can be loaded dynamically. In the callback function of the AJAX request, you need to override the property of the geo object responsible for the balloon content. The balloon will automatically update its content and size.

As an example of an AJAX request, we use the geocoding mechanism in the API.