Documentation
Reference
2.1.53 (current version)
collection
interactivityModel
Interfaces

IMapObjectCollection

Extends ICollection, ICustomizable, IParentOnMap.

Collection of objects on the map.

Constructor | Fields | Events | Methods

Constructor

IMapObjectCollection()

Fields

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

optionsIOptionManager

Options manager.

Inherited from ICustomizable.

Events

NameDescription
add

A child object was added.

Inherited from ICollection.

mapchange

Map reference changed. Data fields:

  • oldMap - Old map.
  • newMap - New map.

Inherited from IParentOnMap.

optionschange

Change to the object options.

Inherited from ICustomizable.

remove

A child object was deleted.

Inherited from ICollection.

Methods

NameReturnsDescription
add(object)

ICollection

Adds a child object to the collection.

Inherited from ICollection.

getIterator()

IIterator

Returns iterator for the collection.

Inherited from ICollection.

getMap()

Map

Returns reference to the map.

Inherited from IParentOnMap.

remove(object)

ICollection

Removes a child object from the collection.

Inherited from ICollection.