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

Loading predefined modules during initialization

Save as filesEdit on JSFiddle
The Yandex.Maps API consists of a large number of interrelated modules.
By default, when the API is enabled, the standard set of modules ('package.full') is loaded. It includes everything for working with the API.
To reduce the volume of API code loaded, you can enable specific modules instead of the standard set.
To do this, specify the desired modules in the 'load' GET parameter. Use commas to separate modules in the list.
If the 'load' GET parameter isn't specified, 'package.full' is loaded.
For more information about the modules, see the section Modules.

In this example, we load just the modules for the map, placemarks, and the geo object balloon.

The geo object balloon is enabled using an addon geoObject.addon.balloon.
If the balloon addon isn't enabled, geo objects won't have the balloon property.
All addons are enabled by default in 'package.full'.