Not sure if you still need this? But just in case anyone else does, you can disable the popups from appearing by setting the following in your theme's version of theme_gmap -
$map['markers'][$i]['text'] = '';
There might be another way of doing it by adding JS to remove overlays via the Event listener, but this has worked for me and means just adding theme_gmap (found at line 834 in gmap.module) to your template.php and renaming to phptemplate_gmap or YOURTHEMENAME_gmap.
Comments
Use theme_gmap
Hi walkstreet1,
Not sure if you still need this? But just in case anyone else does, you can disable the popups from appearing by setting the following in your theme's version of theme_gmap -
$map['markers'][$i]['text'] = '';There might be another way of doing it by adding JS to remove overlays via the Event listener, but this has worked for me and means just adding theme_gmap (found at line 834 in gmap.module) to your template.php and renaming to phptemplate_gmap or YOURTHEMENAME_gmap.
Hope this helps,
luke
I would like to disable gmap
I would like to disable gmap marker only on node (and not in gmap built with views).
Is it possible ?