By imoreno on
Hi,
I hope this is the right place for this question.
All my nodes has a location properties, in the node display I'm displaying the node lat/long as it is representing a physical place.
What i would like to achieve is that if a user is viewing my site with a GPS enable device and click on the cordinates that will be dysplayed as a link , it will redirect the user to his installed navigation mobile app (preferably waze) or any other navigation app that he might have installed on his smart phone.
Any idea how do i achieve this task? a dedicated module? custom theme? any idea?
any help would be appreciated.
BR
Itzhak
Comments
Interrested in your solution
Did you find a way ? Thanks by advance
Hi there,
Hi there,
<a href="waze://?ll=[latitude token],[longitude token]">Waze</a>Now when you create new node or update existing node, the rule should pull the latitude and logitude from the location field and add it to the a href so it acts like a link.
For other apps like google maps you need to search for what url to use to open links in their apps.
This is a simple example for waze app link waze://?ll=32.357141,35.039816