## Traffic information

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

{toc}

### DG.Traffic

#### Creation

<table>
    <thead>
        <tr>
            <th>Factory</th>
            <th>Usage</th>
            <th>Description</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><code><b>DG.Traffic</b>(
                <nobr>&lt;<a href="#options">DG.Traffic options</a>&gt; <i>options?</i> )</nobr>
            </code></td>
            <td><code>DG.Traffic(&hellip;)</code></td>
            <td>Creates a traffic jams layer.</td>
        </tr>
    </tbody>
</table>

#### Options

<table>
    <thead>
        <tr>
            <th>Option</th>
            <th>Type</th>
            <th>Default</th>
            <th>Description</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><code><b>disableLabel</b></code></td>
            <td><code>Boolean</code></td>
            <td><code><span class="string">false</span></td>
            <td>If you send the value= true, then, when you hover over a section of a road,
                the additional information will not be displayed.</td>
        </tr>
    </tbody>
</table>
