ITrafficProvider

Extends ICustomizable, IEventEmitter.

Interface for a provider of traffic data.

Constructor | Fields | Events | Methods

Constructor

ITrafficProvider()

Fields

Name Type Description
events IEventManager

Event manager.

Inherited from IEventEmitter.

options IOptionManager

Options manager.

Inherited from ICustomizable.

Events

Name Description
optionschange

Change to the object options.

Inherited from ICustomizable.

Methods

Name Returns Description
getMap()

Map|null

Returns reference to the map.

setMap(Reference)

Methods details

getMap

{Map|null} getMap()

Returns reference to the map.

setMap

{} setMap(Reference)

Parameters:

Parameter Default value Description
Reference *

Type: Map|null

to the map.

* Mandatory parameter/option.