By: Jay Cox-Chapman
Incidents are now live on the map. With real-time incident coverage in the US, Canada, and Mexico, routing in our Directions API and Navigation SDK will dynamically avoid roads closed by accidents, construction, weather, and other changing conditions on the road, ensuring your users get to their destination quickly and safely.
Live location is a network effect. Every time a developer adds Mapbox to their app we power the maps and locations for all their users — now over 400 million per month. All of these sensors feed back into our live traffic data, helping us create accurate real-time ETAs and route drivers away from congested roads. With the addition of incident data, our ETAs take into account both traffic and the context in which it is occurring. Now, your users will be able to “see” why we’re making a particular route choice and understand if they’re avoiding an accident, a construction closure, or other emerging conditions.
To see incidents and traffic data on the map, use the following style URLs in your latest Mapbox project. We have both day and night styles for two types of navigation maps, all with incident information:
mapbox://styles/mapbox/navigation-guidance-day-v4
mapbox://styles/mapbox/navigation-guidance-night-v4
mapbox://styles/mapbox/navigation-preview-day-v4
mapbox://styles/mapbox/navigation-preview-night-v4
To bring real-time traffic and incident-aware routing into your map, use the driving-traffic profile in the Directions API or the Navigation SDK.
Incidents are live on the map was originally published in Points of interest on Medium, where people are continuing the conversation by highlighting and responding to this story.