Open placemark position into google maps for directions

  • glucab86
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 10 months ago - 6 years 10 months ago #11434 by glucab86
Hi and sorry for the bad english,

I would like to know if there's an option to add a button in the infowin toolbar when I click a placemark to open google maps and get directions from my position. I've found the option to add the button that allows me to see street view in a box, but it is not what I'm searching for.

I've searched into the documentation, but I haven't found a solution. Can you help me?

Thanks!
Last edit: 6 years 10 months ago by glucab86.

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #11437 by Dima
Hi.
If you need something like
Click on jumping placemark, the second button
joomla.zhuk.cc/index.php/zhgooglemap-mai...-map-with-placemarks

Here how to do that
zhuk.cc/2017/08/10/zh-googlemaps-new-fea...mark-by-google-maps/

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • glucab86
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 10 months ago #11440 by glucab86
Thank you very much for your help! Really appreciated!

I would like to add that in helpers placemark.php I've modified

$toolbarToolbarText .= ' maps.google.com/maps?saddr=Current%20Location&daddr= '.

to

$toolbarToolbarText .= ' maps.google.com/maps?daddr= '.

because with the saddr field and my language (italian) current location was not recognized, but without the parameter it takes correcly the current location if it is available, else it ask for user input.

Bye!

Please Log in or Create an account to join the conversation.

Time to create page: 0.188 seconds
Powered by Kunena Forum