TrafficControl
A control for enabling a traffic layer on the map.
It appears on the map only if you set the trafficControl
option within @type MapOptions to true
.
Extends:
Control
new constructor
(map, options)
Example:
const control = new mapgl.TrafficControl(
map,
{ position: 'topRight' },
);
Parameters
Methods