Index: gmap.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/gmap/gmap.module,v
retrieving revision 1.101
diff -U5 -r1.101 gmap.module
--- gmap.module	17 Apr 2009 18:31:59 -0000	1.101
+++ gmap.module	24 Jun 2009 15:49:25 -0000
@@ -885,11 +885,13 @@
 
   // Add a class around map bubble contents.
   // @@@ Bdragon sez: Becw, this doesn't belong here. Theming needs to get fixed instead..
   if (isset($map['markers'])) {
     foreach ($map['markers'] as $i => $marker) {
-      $map['markers'][$i]['text'] = '<div class="gmap-popup">' . $marker['text'] . '</div>';
+      if ($map['markermode']==1) {
+        $map['markers'][$i]['text'] = '<div class="gmap-popup">' . $marker['text'] . '</div>';
+      }
     }
   }
 
   switch (strtolower($map['align'])) {
     case 'left':
