Share Location On The Web With Waze
If you have a website that contain ‘just’ your address you can do better.
You can use the links below to help your users navigate to you with one click.
This will save them the trouble to ‘select’, ‘copy’ and open their map app in order to get to you. Waze supports an API which enables developers to open the Waze client application through an external URL. The URL can be accessed from within your mobile web page or web app.
The following are the available parameters you can insert to your ‘a href’ tag:
- Search for address —
waze://?q=< address search term >
- Center map to lat / lon —
waze://?ll=< lat >, < long >
- Navigate to lat / lon —
waze://?ll=< lat >, < long >,&navigate=yes
- Navigate to query and lat/lon
waze://?q=< address string >,ll=< lat >,< long > & navigate=yes
You should always start a drive with the address string (option 4) as the query and the lat long. It will correct any issues with place venues and ensure users are navigated to the entrance of a venue.
For example, the venue for Google I/O 2017:
< a href = "http://waze?q=1+Amphitheatre+Pkwy,+Mountain+View,+CA+94043,ll=37.4268042,-122.0828119,&navigate=yes">Go to Shoreline Park< /a >
However, if you have cases where you want to send your users to a specific geo location (e.g. in the middle of the forest) you should use option #3.
Btw, if you want to use Google Maps you can set this type of links:
Good luck and go to nice places!
Originally published on Ido Green