I used to be able to specify a url parameter to automatically show public transport directions, but it stopped working and now I only get driving directions when I enter a URL like this: https://www.google.com/maps/dir/120+Spring+St,+Cambridge,+MA+02141/24+Cummington+Mall,+Boston,+MA+02215/
What is the parameter I should add to get biking, walking, or public transport directions? (something like ?mode=b
)
Google Maps – How to Encode Preferences for Biking/Walking/Public Transport in Google Maps URL
google maps
Related Topic
- Google Maps – How to Highlight a 20-Minute Walking Region
- Google-maps – How to show Marker on Google Maps in URL
- Google Maps Transit – Customize Foot Speed for Directions
- Google Maps – How to Change Default Location When ‘Location’ Preference Is Not Available
- Google Maps – How to Add Public Transport Details for Cracow
- Google-maps – Google Maps Earth mode URL parameters
- Google Maps – How Walking Time is Calculated
Best Answer
Use this format:
Options for
dirflg
:w
: walkingb
: bicyclingd
orh
ort
: driver
: public transitExample: if you want to bicycle from 120 Spring St, Cambridge, MA 02141 to 24 Cummington Mall, Boston, MA 02215, your URL would be: