-
Forum
-
Zh GoogleMap
-
Component
-
Open placemark position into google maps for directions
Open placemark position into google maps for directions
-
glucab86
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
6 years 2 months ago - 6 years 2 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 2 months ago by glucab86.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
-
glucab86
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
6 years 2 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.
-
Forum
-
Zh GoogleMap
-
Component
-
Open placemark position into google maps for directions
Time to create page: 0.089 seconds