Skip to content
Snippets Groups Projects
Commit 67512ea8 authored by git's avatar git Committed by http://druler.com
Browse files

Issue #1061006 by dafeder | albert78: Fixed Missing tooltips in the Extended GMap View.

parent 30a58a6c
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,9 @@ function template_preprocess_gmap_views_view_gmapextended(&$vars) {
*/
foreach ($markers as $offset => $marker) {
// Set up 'opts' array to make tooltips work
$markers[$offset]['opts'] = array('title' => isset($marker['title']) ? decode_entities($marker['title']) : NULL);
switch ($options['clickmode']) {
case 'render':
$markers[$offset]['text'] = $vars['result'][$offset];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment