--- _gmap_plugin_style_gmap.inc	2010-02-19 15:29:12.000000000 +0100
+++ gmap_plugin_style_gmap.inc	2010-01-28 18:35:32.000000000 +0100
@@ -94,6 +94,7 @@ class gmap_plugin_style_gmap extends vie
       $markers = array();
       $offsets = array();
         foreach ($records as $label => $row) {
+          $this->view->row_index = $label;
         $lat = (float)$row->{$lat_field};
         $lon = (float)$row->{$lon_field};
         if (!empty($lat) && !empty($lon)) {
