Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gmap
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
gmap
Commits
67512ea8
Commit
67512ea8
authored
12 years ago
by
git
Committed by
http://druler.com
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gmap.views.inc
+3
-0
3 additions, 0 deletions
gmap.views.inc
with
3 additions
and
0 deletions
gmap.views.inc
+
3
−
0
View file @
67512ea8
...
...
@@ -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
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment