--- gmap_plugin_style_gmap.inc	2010-06-23 13:38:50.985417199 +0200
+++ gmap_plugin_style_gmap.inc_1	2010-06-23 13:38:46.397407189 +0200
@@ -65,6 +65,7 @@ class gmap_plugin_style_gmap extends vie
     // Render each group separately and concatenate.  Plugins may override this
     // method if they wish some other way of handling grouping.
     $output = '';
+    $this->view->row_index = 0;
     foreach ($sets as $title => $records) {
       $markers = array();
       $offsets = array();
@@ -94,6 +95,7 @@ class gmap_plugin_style_gmap extends vie
           );
           $offsets[$markername]++;
         }
+        $this->view->row_index = 0;
       }
       if (!empty($markers)) { // Don't draw empty maps.
         $map = gmap_parse_macro($this->options['macro']);
