共用方式為


Bing Maps Routes API

Note

Bing Maps for Enterprise service retirement

Bing Maps for Enterprise is deprecated and will be retired. Free (Basic) account customers can continue to use Bing Maps for Enterprise services until June 30th, 2025. Enterprise account customers can continue to use Bing Maps for Enterprise services until June 30th, 2028. To avoid service disruptions, all implementations using Bing Maps for Enterprise REST APIs and SDKs will need to be updated to use Azure Maps by the retirement date that applies to your Bing Maps for Enterprise account type.

Azure Maps is Microsoft's next-generation maps and geospatial services for developers. Azure Maps has many of the same features as Bing Maps for Enterprise, and more. To get started with Azure Maps, create a free Azure subscription and an Azure Maps account. For more information about azure Maps, see Azure Maps Documentation. For migration guidance, see Bing Maps Migration Overview.

Use the Routes API to create a route that includes two or more locations and to create routes from major roads. You can create driving or walking routes. Driving routes can include traffic information. You can also overlay routes on map imagery.

For information about how to overlay routes on a static map using the Bing Maps REST Services Imagery API, see Get a Static Map.

In this Section

Reource Description
Calculate a Route Get a walking, driving or transit route by specifying a series of waypoints.
Calculate a Truck Route Calculate routes which take into consideration truck attributes. Such as size, weight, and type of cargo.
Calculate Routes from Major Roads Get driving routes to a location from major roads in four directions (West, North, East and South)
Route Data View response field definitions
Maneuver Types View maneuver type definitions
Warning Types View warning type definitions
Calculate Optimized Itinerary Routes Get optimized itineraries for multiple agents and multiple waypoints with time windows based on travel time or distance.
Calculate a Distance Matrix Calculate travel times and distances between a set of origins and destinations. Optionally calculate traffic based distance matrices over a period of time.
Calculate an Isochrone Calculate time-specific, isoline polygons for the distance that is reachable from a given location and supports multiple modes of transportation (i.e., driving, walking, and public transit).
Snap Points to Roads Take GPS points and snap them to the nearest, most logical road segment to form a path.
Local Insights Returns local business entities centered at a location within a maximum driving time or distance traveled.

See Also