Extends
Methods
-
Disable traffic control.
-
Enable traffic control. Default enabled mode is live traffic.
-
Enable traffic options. Possible values:
- cercaliagl.control.Traffic.Options.LIVE
- cercaliagl.control.Traffic.Options.FORECAST
- cercaliagl.control.Traffic.Options.CAMERAS
- cercaliagl.control.Traffic.Options.MILESTONE
- cercaliagl.control.Traffic.Options.ROADWORKS
Name Type Description optionId
string Option to enable.
- cercaliagl.control.Traffic.Options.LIVE
-
Returns
cercalia
Map objectReturns:
Cercalia map.
-
Get class name.
Returns:
Class name.
-
Get control HTML Element
Returns:
HTML Element
-
Get control id.
Returns:
Id.
-
Returns
mapboxgl
Map object -
Get control name. Null if control has not defined name.
Returns:
Class name.
-
Hide control.
-
Show control.