Class: ZBE

cercaliagl.control/ZBE


Javascript ES5

const control = new cercaliagl.control.Traffic();

This control allow to display real traffic and forecast traffic.
- In real traffic most roads display linestrings over them. In the bottom right dialog you can see the legend. Traffic affectations like accidents, network managements are displayed too. - In forecast traffic you can adjust the date and the forecast time.

new ZBE()

Extends

Methods

closePopup()

Close

Disable traffic control.

Enable traffic control. Default enabled mode is live traffic.

Returns cercalia Map object

Returns:
Cercalia map.

getClass(){string} inherited

Get class name.

Returns:
Class name.

getElement(){Element} inherited

Get control HTML Element

Returns:
HTML Element

Get control id.

Returns:
Id.

getMap(){module:maplibre-gl~Map} inherited

Returns mapboxgl Map object

getName(){string|null} inherited

Get control name. Null if control has not defined name.

Returns:
Class name.

Hide control.

Show control.