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

johnv’s picture

Status: Active » Closed (won't fix)

Closing this very old issue. Please reopen if it is still valid.