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.
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 2025-10-15 UTC.
[null,null,["Last updated 2025-10-15 UTC."],[],[]]