We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79636be commit db77eb5Copy full SHA for db77eb5
articles/azure-maps/map-show-traffic.md
@@ -59,10 +59,10 @@ There are two different traffic controls that can be added to the map. The first
59
The following code shows how to add the traffic controls to the map.
60
61
```JavaScript
62
-//Att the traffic control toggle button to the top right corner of the map.
+//Add the traffic control toggle button to the top right corner of the map.
63
map.controls.add(new atlas.control.TrafficControl(), { position: 'top-right' });
64
65
-//Att the traffic legend control to the bottom left corner of the map.
+//Add the traffic legend control to the bottom left corner of the map.
66
map.controls.add(new atlas.control.TrafficLegendControl(), { position: 'bottom-left' });
67
```
68
0 commit comments