Open placemark position into google maps for directions

More
4 months 1 week ago - 4 months 1 week ago #11434 by
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: 4 months 1 week ago by .

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

More
4 months 1 week ago #11437 by
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
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

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

More
4 months 1 week ago #11440 by
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.118 seconds

Donate


Go to top