Closed (won't fix)
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2008 at 20:11 UTC
Updated:
14 Apr 2013 at 22:06 UTC
Hi, i wanted to customise the title for the user marker. So i created a few lines to permit that, i don't know if it will get in the main project, maybe it can slow down too much if their a lot of marker on a simple page. So anyway here is the change.
BTW i don't know how to make a .patch yet so sorry.
On line 24 add
'gmap_location_infowindow_user_title' => array('arguments' => array('name')),
change line 154 to
$newmarker['opts']['title'] = theme('gmap_location_infowindow_user_title',$row->name);
and add
/**
* Default theme for user marker title
*/
function theme_gmap_location_infowindow_user_title($name) {
return check_plain($name);
}
Comments
Comment #1
johnvClosing this very old issue. Please reopen if it is still valid.