In the configuration page: admin/config/services/gmap
I chose 'open link' in marker action sub-menu, but it doesn't work.
When I click on a marker, nothing happens!
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | the_marker_acrtion-1541324-8.patch | 484 bytes | valentine94 |
| #5 | the_marker_acrtion-1541324-1.patch | 439 bytes | valentine94 |
Comments
Comment #1
calmforce commentedI got similar problem - no reaction to a click on a marker in a view with output style GMap. No tooltip either on mouse hover. Is it specific to views?
Comment #2
118218 commentedNo I do not even use views.
I had this bug with several sites. So I managed to solve it using a CSS hack.
So I take the Google link at the bottom left, and I make sure it takes the entire surface of my gmap display. For that I use the CSS rule -> display: block
Comment #3
118218 commentedWe can customize the behaviour of the gmap marker when clicked, by editing the function theme_gmap() on gmap.module file:
I managed to disable popup (info window) by editing it this manner:
Thanks to this post:
https://drupal.org/node/753768
Comment #4
podarok#3 looks like ready for git diff http://drupal.org/patch
Comment #4.0
podaroksyntax corrections
Comment #5
valentine94Created a patch with a #3 solution.
Comment #6
andypostunset($map['markers'][$i]['text']) looks better then condition
Comment #7
valentine94Wrong.
Comment #8
valentine94@andypost, do you mean something like this?
Comment #9
andypostyes, this ugly but works, probably needs manual testing
Comment #10
System Lord commentedI manually plugged this change into 729 and it works (including android). I can't revert back to DEV so my only option.
Just need to remove the pointer on hover.
Thanks for this!
Comment #11
valentine94Fix typo in the issue title.
Comment #12
podarokComment #15
malberts commentedThis breaks the popup window because this patch removes the actual popup text.
Or should I open a new issue?
Comment #16
cspiker commentedYes, this commit breaks the info popup window. See #2445429: Bubbles missing from gmap view.
Comment #17
summit commentedHi,
Yes somehow this issue, and issues https://www.drupal.org/node/2445429 and https://www.drupal.org/node/2478267 are three bugreports of the same sort of functionality wish. to get gmap markers working as in D6, with tooltip, bubble, balloon, click event as settings give action to.
Gmap marker is right now in .dev and in latest version not working as it should be.
I will build a new issue as overall issue of these combined issues.
greetings, Martijn