Skip to main content

dg-traffic

Creates a layer with information about traffic jams. When you hover over a section of a road, it displays additional meta-information.

DG.Traffic

Creation

FactoryUsageDescription
DG.Traffic( <DG.Traffic options> options? ) DG.Traffic(…)Creates a traffic jams layer.

Options

OptionTypeDefaultDescription
disableLabelBooleanfalseIf you send the value= true, then, when you hover over a section of a road, the additional information will not be displayed.