Launch Google Maps and perform a specific action
To launch Google Maps and optionally perform one of the supported functions, use a URL scheme of one of the following forms, depending on the action requested:
Search — launch a Google Map that displays a pin for a specific place, or perform a general search and launch a map to display the results:
https://www.google.com/maps/search/?api=1¶meters
Directions — request directions and launch Google Maps with the results:
https://www.google.com/maps/dir/?api=1¶meters
Display a map — launch Google Maps with no markers or directions:
https://www.google.com/maps/@?api=1&map_action=map¶meters
Display a Street View panorama — launch an interactive panorama image:
https://www.google.com/maps/@?api=1&map_action=pano¶meters
Important: The parameter api=1 identifies the version of Maps URLs this URL is intended for. This parameter is required in every request. The only valid value is 1. If api=1 is NOT present in the URL, all parameters are ignored and the default Google Maps app will launch, either in a browser or the Google Maps mobile app, depending on the platform in use (for example,
https://www.google.com/maps).
Bookmarks