IControlParent

Extends IParentOnMap.

Interface of the parent object for the control.

Constructor | Fields | Events | Methods

Constructor

IControlParent()

Fields

Name

Type

Description

state

IDataManager

State manager.

Events

Name

Description

mapchange

Map reference changed. Data fields:

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

Inherited from IParentOnMap.

Methods

Name

Returns

Description

getChildElement(child)

vow.Promise

Returns the promise object, which is confirmed by the HTML element that should hold the child element.

getMap()

Map

Returns reference to the map.

Inherited from IParentOnMap.

Fields details

state

{IDataManager} state

State manager.

Methods details

getChildElement

{vow.Promise} getChildElement(child)

Returns the promise object, which is confirmed by the HTML element that should hold the child element.

Parameters:

Parameter

Default value

Description

child*

—

Type: IControl

Child object.

* Mandatory parameter/option.