Current Location - Google Maps - Link to Directions
For those still looking, here are some methods of linking to Google Maps:
Spaces can be changed to +
or encoded as %20
.
-
Linking to a location (No directions)
https://www.google.com/maps?q=760+West+Genesee+Street+Syracuse+NY+13204
-
No starting point (User input required to generate directions).
https://www.google.com/maps?daddr=760+West+Genesee+Street+Syracuse+NY+13204
-
With a set location as starting point (Automatically generates directions with no user input required).
https://www.google.com/maps?saddr=760+West+Genesee+Street+Syracuse+NY+13204&daddr=314+Avery+Avenue+Syracuse+NY+13204
-
With "My Location" as starting point (Automatically generates directions with no user input required).
https://www.google.com/maps?saddr=My+Location&daddr=760+West+Genesee+Street+Syracuse+NY+13204
-
Current Location to Latitude and Longitude
https://www.google.com/maps?saddr=My+Location&daddr=43.12345,-76.12345
-
Query search of a Latitude and Longitude. Also shows setting a default zoom level.
https://www.google.com/maps?ll=43.12345,-76.12345&q=food&z=14
-
String search as destination
https://www.google.com/maps?saddr=My+Location&daddr=Pinckney+Hugo+Group
Here is a post I made that I will keep updated as there are some even newer ways to do this!
Use My Location instead:
https://maps.google.com/?saddr=My%20Location&daddr=myDestinationAddress
Current Location only works on OS'es with English locale setup.
I haven't found any documentation on this. However leaving saddr blank as suggested here https://developers.google.com/maps/documentation/ios-sdk/urlscheme will prompt the user to input start address.
Also, you can try to use
https://maps.google.com/?daddr=53.9187068,27.5862874
It is works for me on android and ios at least. May be usefull. More details here : https://developers.google.com/maps/documentation/ios/urlscheme?utm_source=welovemapsdevelopers&utm_campaign=GM-for-iOS-sdk-1-7