Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

ITrafficProvider

Extends ICustomizable, IEventEmitter.

Interface for a provider of traffic data.

Constructor | Fields | Events | Methods

Constructor

ITrafficProvider()

Fields

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

optionsIOptionManager

Options manager.

Inherited from ICustomizable.

Events

NameDescription
optionschange

Change to the object options.

Inherited from ICustomizable.

Methods

NameReturnsDescription
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:

ParameterDefault valueDescription
Reference*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: Map|null

to the map.

* Mandatory parameter/option.