The Bing Maps Routes API can be used to create routes that includes two or more locations and to create routes from major roads. Users have the option of creating routes for both driving and walking. Driving routes can include traffic information and the final routes can be overlaid routes on map imagery. The API uses REST and SOAP protocol and responses are formatted in XML, JSON and JSONP.
Microsoft has added waypoint optimization to the Bing Maps Routing API, which allows developers to create routes between driving locations. The API is ideal for delivery and transportation businesses, and the route optimization functionality is intended to address the traveling salesman problem.
This article is part of a 10-part series about interesting APIs that were added to our directory during 2016. Mapping and Location APIs are covered in this segment. The APIs were chosen by our researchers, by popularity according to website traffic, and by mentions on social media.
Microsoft has launched the Bing Maps Distance Matrix API which returns the travel times and distances between a set of origins and destinations. The API can be used in applications to solve the Traveling Salesman Problem and Vehicle Routing Problem returning the best route for a set of locations.