There is no tooltip in the Extended GMap View, when you hold mouse over a marker.
It's like this, because title (tooltip) is directly put into marker array, while it's expected to be in opts sub array.
That line added to template_preprocess_gmap_views_view_gmapextended() in gmap.views.inc, solved the problem for me:
$markers[$offset]['opts'] = array('title' => isset($marker['title']) ? $marker['title'] : NULL);
But I'm not sure if it is the right solution.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | gmap-tooltips_1061006_2.patch | 556 bytes | dafeder |
| #1 | gmap-tooltips_1061006_1.patch | 539 bytes | dafeder |
Comments
Comment #1
dafederWorked for me. Here's a patch.
Comment #2
dafederMight want to use this one, to decode HTML entities in the tooltip.
Comment #3
dafederMight want to use this one, to decode HTML entities in the tooltip.
Comment #4
alexdmccabeConfirming that the patch in #2 works, can't comment on the validity of the solution however.
Comment #5
dafederFor some reason the link in #2 is broken but the patch is still there: http://drupal.org/files/issues/gmap-tooltips_1061006_2.patch
Comment #6
podarok#2 commited / pushed to 7.x-2.x and 7.x-1.x
removing trailing whitespaces from here
thanks!!!!