Skip to content

Commit 36bb95e

Browse files
authored
Merge pull request #112184 from stevemunk/map-show-traffic
Grammar and end-links: map-show-traffic.md
2 parents 195386f + 3e55d74 commit 36bb95e

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

articles/azure-maps/map-show-traffic.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The [Traffic Overlay Options] tool lets you switch between the different traffic
5555

5656
## Add traffic controls
5757

58-
There are two different traffic controls that can be added to the map. The first control, `TrafficControl`, adds a toggle button that can be used to turn traffic on and off. Options for this control allow you to specify when traffic settings to use when show traffic. By default this control will display relative traffic flow and incident data, however, you could change this to show absolute traffic flow and no incidents if desired. The second control, `TrafficLegendControl`, adds a traffic flow legend to the map that helps user understand what the color code road highlights mean. This control will only appear on the map when traffic flow data is displayed on the map and will be hidden at all other times.
58+
There are two different traffic controls that can be added to the map. The first control, `TrafficControl`, adds a toggle button that can be used to turn traffic on and off. Options for this control allow you to specify when traffic settings to use when show traffic. By default this control displays relative traffic flow and incident data, however, you could change this behavior and show absolute traffic flow and no incidents if desired. The second control, `TrafficLegendControl`, adds a traffic flow legend to the map that helps user understand what the color code road highlights mean. This control only appears on the map when traffic flow data is displayed on the map and is hidden at all other times.
5959

6060
The following code shows how to add the traffic controls to the map.
6161

@@ -82,25 +82,30 @@ The [Traffic controls] sample is a fully functional map that shows how to displa
8282
Learn more about the classes and methods used in this article:
8383

8484
> [!div class="nextstepaction"]
85-
> [Map](/javascript/api/azure-maps-control/atlas.map)
85+
> [Map]
8686
8787
> [!div class="nextstepaction"]
88-
> [TrafficOptions](/javascript/api/azure-maps-control/atlas.trafficoptions)
88+
> [TrafficOptions]
8989
9090
Enhance your user experiences:
9191

9292
> [!div class="nextstepaction"]
93-
> [Map interaction with mouse events](map-events.md)
93+
> [Map interaction with mouse events]
9494
9595
> [!div class="nextstepaction"]
96-
> [Building an accessible map](map-accessibility.md)
96+
> [Building an accessible map]
9797
9898
> [!div class="nextstepaction"]
99-
> [Code sample page](https://aka.ms/AzureMapsSamples)
99+
> [Code sample page]
100100
101-
[Traffic Overlay]: https://samples.azuremaps.com/traffic/traffic-overlay
101+
[Building an accessible map]: map-accessibility.md
102+
[Code sample page]: https://aka.ms/AzureMapsSamples
103+
[Map interaction with mouse events]: map-events.md
104+
[Map]: /javascript/api/azure-maps-control/atlas.map
105+
[Traffic controls source code]: https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Traffic/Traffic%20controls/Traffic%20controls.html
102106
[Traffic controls]: https://samples.azuremaps.com/traffic/traffic-controls
107+
[Traffic Overlay Options source code]: https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Traffic/Traffic%20Overlay%20Options/Traffic%20Overlay%20Options.html
103108
[Traffic Overlay Options]: https://samples.azuremaps.com/traffic/traffic-overlay-options
104109
[Traffic Overlay source code]: https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Traffic/Traffic%20Overlay/Traffic%20Overlay.html
105-
[Traffic controls source code]: https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Traffic/Traffic%20controls/Traffic%20controls.html
106-
[Traffic Overlay Options source code]: https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Traffic/Traffic%20Overlay%20Options/Traffic%20Overlay%20Options.html
110+
[Traffic Overlay]: https://samples.azuremaps.com/traffic/traffic-overlay
111+
[TrafficOptions]: /javascript/api/azure-maps-control/atlas.trafficoptions

0 commit comments

Comments
 (0)