Places UI Kit: A ready-to-use library that provides room for customization and low-code development. Try it out, and share yourinput on your UI Kit experience.

Waypoint types and options

European Economic Area (EEA) developers If your billing address is in the European Economic Area, effective on 8 July 2025, the Google Maps Platform EEA Terms of Service will apply to your use of the Services. Functionality varies by region.Learn more.

A waypoint is a location along a route, including the beginning (origin) and end(destination) locations for a route, and the origins and destinations for aroute matrix.

You have several options on how tospecify the location for waypoints. In addition to setting the beginning and end locations, you can also add intermediate waypoints that you want the route to go through, and have a couple of options for waypoint behavior:

Waypoint optionDescription
Specify waypoint locationsSpecify the beginning and end of, and points along, the route.
Set intermediate waypointsSet intermediate waypoints to specify locations in between the origin and destination that you want the route to go through. An intermediate waypoint can be a stopover or pass-through waypoint (see sections below).
Set a stop along a routeSpecify an intermediate waypoint is a stop along the route, such as for a pickup or dropoff.
Set a point for a route to pass throughSpecify an intermediate waypoint that you want the route to pass through.
Specify vehicle heading for a waypointSpecify the heading of the vehicle when it arrives. Cannot use with side of road.
Specify side of road for a waypointSpecify the side of road you prefer the vehicle arrives on. Cannot use with heading.
Optimize the order of stops on a routeSpecify the direction you want the vehicle to head when it arrives at each waypoint.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-31 UTC.