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

Layout for cluster balloon "Accordion"

Save as filesEdit on JSFiddle
This example uses the cluster balloon layout "cluster#balloonAccordion".
The layout shows a list of geo objects, and when an item is clicked, information about the geo object is displayed.
Information about the selected geo object is set by a separate layout and can be configured using the 'clusterBalloonItemContentLayout' option.
This example sets a custom layout with information about a geo object.

Layouts of objects can be created using the templateLayoutFactory factory and text templates.
Text templates generate the HTML content of the layout from a data hash passed to the layout constructor.
In this example, the data provider is the geo object.