Routes capabilities

Explore Google Maps Platform route calculation, distance matrix, turn-by-turn navigation, roads, and fleet routing capabilities across Android, iOS, JavaScript, and Web Service APIs. To browse supported capabilities, use the platform jump links or filter boxes:

Explore by category: Overview | Maps | Places | Routes | Environment | Analytics

Filter Routes capabilities by subcategory, capability, or platform:

Subcategory Capability Platform
Directions and Routing Embed a standard Google Maps directions view into an iframe on a web page. JavaScript
Optimize the order of stops on your route Web Service
Return an encoded polyline between each step along a route between two or more set of latitude/longitude coordinates. JavaScript Web Service
Return an encoded polyline for a route between two or more sets of latitude/longitude coordinates. JavaScript Web Service
Return directions between two or more latitude/longitude coordinates as a series of coordinates for each step along a route. JavaScript Web Service
Return directions between two or more sets of latitude/longitude coordinates as a series of maneuver descriptions for the steps along a route. JavaScript Web Service
Return distance, travel time, and directions URI between a set of latitude/longitude coordinates and each of the places near a specific location. Android iOS Web Service
Return distance, travel time, and directions URI between a set of latitude/longitude coordinates and each of the places returned based on a query string. Android iOS Web Service
Return distance, travel time, and directions URI between each of the places returned based on a query string, that are also located along a predefined route, and the route destination. Android Web Service
Return distance, travel time, and directions URI between the origin for a predefined route and each of the places returned based on a query string, that are also located along the route. Android Web Service
Return distances for a matrix of routes between multiple origins and destinations. JavaScript Web Service
Return information about places based on a query string that are located along a predefined route. Android iOS Web Service
Return the distance between each step along a route between two or more sets of latitude/longitude coordinates. JavaScript Web Service
Return the distance for a route between two or more sets of latitude/longitude coordinates. JavaScript Web Service
Return the travel time between each step along a route between two or more sets of latitude/longitude coordinates. JavaScript Web Service
Return the travel time for a route between two or more sets of latitude/longitude coordinates. JavaScript Web Service
Return toll information for a matrix of routes between multiple origins and destinations. Web Service
Return toll information for for a route between two or more sets of latitude/longitude coordinates. Web Service
Return travel times for a matrix of routes between multiple origins and destinations. JavaScript Web Service
Set a point for a route to pass through. Web Service
Set intermediate waypoints along a route. Web Service
Set waypoints along a route. Web Service
Specify a stop or pass-through point for a route request. JavaScript Web Service
Specify eco-friendly routing for a routes request. Web Service
Specify features to avoid, such as highways or tolls, for a route request. JavaScript Web Service
Specify how traffic data is used in a route request. JavaScript Web Service
Specify shorter distance or alternative routing for a routes request. JavaScript Web Service
Specify the travel mode (drive, transit, walk, two-wheeled) for a route matrix request. JavaScript Web Service
Specify the travel mode (drive, transit, walk, two-wheeled) for a route request. JavaScript Web Service
Specify vehicle heading and side of road for a route. Web Service
Fleet Engine Add a customizable, interactive map that tracks the progress of a trip from Fleet Engine to a mobile app. Android iOS
Add a Fleet Engine delivery vehicle's location, stops, tasks, and waypoint markers to a map. JavaScript
Add a route polyline that tracks a trip from Fleet Engine to a map on a web page or mobile app. Android iOS JavaScript
Add the predicted routes of Fleet Engine delivery vehicles and tasks to a map. JavaScript
Add the real-time location Fleet Engine delivery vehicles and tasks to a map JavaScript
Apply different map styles to different zoom levels on a Fleet Engine fleet tracking map. JavaScript
Apply different map styles to different zoom levels on a map that tracks the progress of a trip from Fleet Engine. Android iOS JavaScript
Change the density of places on a Fleet Engine fleet tracking map. JavaScript
Change the density of places on a map that tracks the progress of a trip from Fleet Engine. Android iOS JavaScript
Change the style of buildings on a Fleet Engine fleet tracking map. JavaScript
Change the style of buildings on a map that tracks the progress of a trip from Fleet Engine. Android iOS JavaScript
Change the style of icons and text labels on a Fleet Engine fleet tracking map. JavaScript
Change the style of icons and text labels on a map that tracks the progress of trip from Fleet Engine. Android iOS JavaScript
Change the style of landmarks on a Fleet Engine fleet tracking map. JavaScript
Change the style of landmarks on a map that tracks the progress of a trip from Fleet Engine. Android iOS JavaScript
Change the style of roads, polylines, and polygons on a Fleet Engine fleet tracking map. JavaScript
Change the style of roads, polylines, and polygons on a map that tracks the progress of a trip from Fleet Engine. Android iOS JavaScript
Create and return a new Fleet Engine trip. Web Service
Customize a marker on a Fleet Engine fleet tracking map. JavaScript
Customize a marker on a map that tracks the progress of a trip from Fleet Engine. Android iOS JavaScript
Customize the route polyline on a Fleet Engine fleet tracking map. JavaScript
Customize the route polyline on a map that tracks the progress of a trip from Fleet Engine. Android iOS JavaScript
Display or hide map features on a Fleet Engine fleet tracking map. JavaScript
Display or hide map features on a map that tracks the progress of a trip from Fleet Engine. Android iOS JavaScript
Instantiate a new vehicle in Fleet Engine associated with an on-demand rideshare or deliveries provider. Web Service
Report a vehicle's estimated time of arrival at its next waypoint to the Fleet Engine service. Android iOS
Report a vehicle's real-time position to the Fleet Engine service Android iOS
Report a vehicle's remaining distance to its next waypoint to the Fleet Engine service. Android iOS
Report billable Fleet Engine trip usage. Web Service
Report the latitude/longitude coordinates of a vehicle's trip way points from the Navigation SDK to the Fleet Engine service. Android iOS
Report the route provide for a vehicle by the Navigation SDK to the Fleet Engine service. Android iOS
Respond to Fleet Engine delivery vehicle events, including completed trips, segments, deliveries, and tasks. JavaScript
Return a list of all Fleet Engine trips for a specified vehicle. Web Service
Return a list of vehicles in Fleet Engine that match the specified criteria. Web Service
Return a paginated list of vehicles in Fleet Engine associated with a provider that match the specified criteria. Web Service
Return a vehicle from the Fleet Engine service. Web Service
Return information about a Fleet Engine trip. Web Service
Return trip information for a vehicle from the Fleet Engine service. Android iOS
Update trip data for a Fleet Engine trip. Web Service
Update trip progress along a route in a map on a web page or mobile app for a Fleet Engine trip. Android iOS JavaScript
Update vehicle attributes for a vehicle in Fleet Engine. Web Service
Update vehicle data for a vehicle in Fleet Engine. Web Service
Generative AI Display a route on a map optimized for AI agent responses. Android iOS JavaScript
Navigation Add a custom route disruption reporting button. Android iOS
Add a new UI element to turn-by-turn navigation. Android iOS
Add a traffic layer to turn-by-turn navigation. Android iOS
Add a trip progress indicator to turn-by-turn navigation. Android iOS
Add interactive, turn-by-turn navigation for Android Auto to an Android app. Android
Add interactive, turn-by-turn navigation for CarPlay to an iOS app. iOS
Add interactive, turn-by-turn navigation to a mobile app. Android iOS
Alert users about disruptions along their route. Android iOS
Allow users to report disruptions along their route. Android iOS
Allow users to verify disruptions along their route. Android iOS
Allow users to view disruptions along their route before starting navigation. Android iOS
Customize speedometer and speed limit alerts for turn-by-turn navigation. Android iOS
Customize the map features that appear during turn-by-turn navigation. Android iOS
Customize the UI elements and controls that appear during turn-by-turn navigation. Android iOS
Modify routing preferences for turn-by-turn navigation. Android iOS
Modify the camera view and behavior for turn-by-turn navigation. Android iOS
Return a turn-by-turn navigation feed as a series of messages for each maneuver along the route. Android iOS
Return night mode updates from a turn-by-turn navigation session. Android iOS
Return route change updates from a turn-by-turn navigation session. Android iOS
Return time and distances updates from a turn-by-turn navigation session. Android iOS
Return user arrival updates from a turn-by-turn navigation session. Android iOS
Return user location updates from a turn-by-turn navigation session. Android iOS
Return user speed updates from a turn-by-turn navigation session. Android iOS
Set the destination for turn-by-turn navigation. Android iOS
Specify a re-planned route for turn-by-turn navigation with a reusable route token. Android iOS
Specify custom maneuver icons to use with a turn-by-turn navigation feed. Android iOS
Specify side-of-road and other arrival preferences for turn-by-turn navigation. Android iOS
Specify the travel mode (drive, walk, two-wheeled, taxi) for a route request. Android iOS
Start navigation for turn-by-turn navigation. Android iOS
Places Return distance, travel time, and directions URI between a set of latitude/longitude coordinates and each of the places near a specific location. Android iOS Web Service
Return distance, travel time, and directions URI between a set of latitude/longitude coordinates and each of the places returned based on a query string. Android iOS Web Service
Return distance, travel time, and directions URI between each of the places returned based on a query string, that are also located along a predefined route, and the route destination. Android Web Service
Return distance, travel time, and directions URI between the origin for a predefined route and each of the places returned based on a query string, that are also located along the route. Android Web Service
Return information about places based on a query string that are located along a predefined route. Android iOS Web Service
Roads Return a set of latitude/longitude coordinates for the road segment closest to a set specified coordinates. Web Service
Return a set of latitude/longitude coordinates that align with road segments and most closely match the path of a set of specified coordinates. Web Service
Return the Google place identifier for the road segment closest to a set of latitude/longitude coordinates. Web Service
Return the speed limit of the road segment for a provided Google place identifier. Web Service
Return the speed limit of the road segment that most closely matches the path of a set of latitude/longitude coordinates. Web Service
Route optimization Avoid making u-turn in a multi-stop vehicle route. Web Service
Batch process a multi-stop delivery plan optimization request and write the response to Google Cloud Storage. Web Service
Deliver heavier shipments first. Web Service
Optimize for pre-defined objectives. Web Service
Prioritize nearby visits to be made back to back. Web Service
Reserve time for parking before making deliveries. Web Service
Return a multi-stop delivery plan, optimized based on specified routing, cost, shipment, and vehicle constraints. Web Service
Return a navigation route token for the route between each stop on an optimized delivery plan. Web Service
Return aggregate shipment, vehicle, and cost metrics for an optimized delivery plan. Web Service
Return an encoded polyline for the route between each stop on an optimized delivery plan. Web Service
Return cost information for each shipment in an optimized delivery plan. Web Service
Return start and end times for each stop on an optimized delivery plan. Web Service
Return the travel, delay, break, and wait durations between each stop on an optimized delivery plan. Web Service
Return vehicle load information at each stop on an optimized delivery plan. Web Service
Specify cost model parameters for a multi-stop delivery plan. Web Service
Specify load limits for each vehicle in a multi-stop delivery plan. Web Service
Specify pickup and delivery time constraints for each shipment in a multi-stop delivery plan. Web Service
Specify start and end time availability and locations for each vehicle in a multi-stop delivery plan. Web Service
Specify the start and end time window for a multi-stop delivery plan. Web Service
Specify vehicle assignments for a multi-stop delivery plan. Web Service
Specify vehicle time costs for each vehicle in a multi-stop delivery plan. Web Service
Specify whether to consider live traffic information for a multi-stop delivery plan. Web Service