IMapObjectCollection

Extends ICollection, ICustomizable, IParentOnMap.

Collection of objects on the map.

Constructor | Fields | Events | Methods

Constructor

IMapObjectCollection()

Fields

Name

Type

Description

events

IEventManager

Event manager.

Inherited from IEventEmitter.

options

IOptionManager

Options manager.

Inherited from ICustomizable.

Events

Name

Description

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

Name

Returns

Description

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.