Open placemark position into google maps for directions

  • glucab86
  • glucab86's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 days ago - 1 month 3 days ago #11434 by glucab86
glucab86 created the topic: Open placemark position into google maps for directions
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: 1 month 3 days ago by glucab86.

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

More
1 month 3 days ago #11437 by Dima
Dima replied the topic: Open placemark position into google maps for directions
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 ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

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

  • glucab86
  • glucab86's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 days ago #11440 by glucab86
glucab86 replied the topic: Open placemark position into google maps for directions
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.109 seconds

Donate


Go to top