ObjectManager - A class for adding a large number of objects to the map
without needing to create placemarks individually.
The objects added to the ObjectManager are located in the ObjectManager.objects collection. Clusters formed from the
added placemarks are added to the ObjectManager.clusters collection.
The visual representation of placemarks is created asynchronously on demand. The visual representation of placemarks and clusters are objects implementing the IOverlay interface. In particular, overlay.Placemark.
Overlays are placed in the ObjectManager.objects.overlays and ObjectManager.clusters.overlays collections, respectively.
Events on object overlays propagate to the parent collections. The unique ID of the object on which the event occurred is passed in the objectID field of the event. IDs for single objects are set by the user, and for clusters they are generated automatically during cluster creation.
ObjectManager - A class for adding a large number of objects to the map without needing to create placemarks individually.
The objects added to the ObjectManager are located in the ObjectManager.objects collection. Clusters formed from the added placemarks are added to the ObjectManager.clusters collection. The visual representation of placemarks is created asynchronously on demand. The visual representation of placemarks and clusters are objects implementing the IOverlay interface. In particular, overlay.Placemark. Overlays are placed in the ObjectManager.objects.overlays and ObjectManager.clusters.overlays collections, respectively.
Events on object overlays propagate to the parent collections. The unique ID of the object on which the event occurred is passed in the objectID field of the event. IDs for single objects are set by the user, and for clusters they are generated automatically during cluster creation.