- Posts: 2
- Thank you received: 0
Open placemark position into google maps for directions
- glucab86
- Topic Author
- Offline
- New Member
Less
More
6 years 10 months ago - 6 years 10 months ago #11434
by glucab86
Open placemark position into google maps for directions was created 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!
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.
- Dima
- Offline
- Platinum Member
6 years 10 months ago #11437
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on 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/
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
Less
More
- Posts: 2
- Thank you received: 0
6 years 10 months ago #11440
by glucab86
Replied by glucab86 on 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!
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