? icons.patch
? mapstraction.js
Index: mapstraction.drupal.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mapstraction/mapstraction.drupal.js,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 mapstraction.drupal.js
--- mapstraction.drupal.js	23 Feb 2009 23:08:51 -0000	1.1.2.5
+++ mapstraction.drupal.js	20 Apr 2009 23:11:22 -0000
@@ -16,6 +16,7 @@
     $(this.markers).each(function(index) {
       marker = new Marker(new LatLonPoint(Number(this.lat), Number(this.lon)));
       marker.setInfoBubble(this.title);
+      marker.setIcon(this.icon);
       Drupal.mapstraction[id].addMarker(marker);
     });
   });
Index: mapstraction_style_map.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mapstraction/mapstraction_style_map.inc,v
retrieving revision 1.1.2.10
diff -u -r1.1.2.10 mapstraction_style_map.inc
--- mapstraction_style_map.inc	11 Mar 2009 01:51:56 -0000	1.1.2.10
+++ mapstraction_style_map.inc	20 Apr 2009 23:11:23 -0000
@@ -114,6 +114,7 @@
         'latitude' => t('Latitude'),
         'longitude' => t('Longitude'),
         'class' => t('Class'),
+        'icon' => t('Icon URL'),
       );
       $form['fields'] = array(
         '#type' => 'fieldset',
@@ -212,6 +213,9 @@
         elseif ($key == $this->options['fields']['class']) {
           $point['attributes']['class'] = $this->map_point_class($field->theme($row));
         }
+        elseif ($key == $this->options['fields']['icon']) {
+          $point['icon'] = $field->theme($row);
+        }
         else {
           $point['content'] .= $field->theme($row);
         }
