reviews Get a Maps Demo Key : Try out select Maps JavaScript API and Places UI Kit features at no cost with a Maps Demo Key—no billing information required.
Get a bicycling vehicle route
Stay organized with collections
Save and categorize content based on your preferences.
European Economic Area (EEA) developers
Bicycling is a human-powered travel mode; vehicles classified as two-wheelers are
generally powered vehicles (for example, motorcycles).
Use the
travelMode
property of a request to specify the mode.
Note: Walking, bicycling, and two-wheel routes are in beta and might sometimes be missing
clear sidewalks, pedestrian paths, or bicycling paths. You must display this warning to the user
for all walking, bicycling, and two-wheel routes that you display in your app.
Specify the bicycling travel mode
Specify the BICYCLING travel mode in your computeRoute request,
as shown in the following example:
const request = {
origin : 'Mountain View, CA' ,
destination : 'San Francisco, CA' ,
travelMode : 'BICYCLING' ,
fields : [ 'path' ],
};
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-20 UTC.
[null,null,["Last updated 2026-03-20 UTC."],[],[]]