diff -rup openlayers/includes/layer_types/js/raw.js openlayers_new/includes/layer_types/js/raw.js
--- openlayers/includes/layer_types/js/raw.js	2010-09-16 07:28:21.000000000 +1000
+++ includes/layer_types/js/raw.js	2010-11-26 15:23:39.565900000 +1100
@@ -9,10 +9,10 @@ Drupal.openlayers.layer.openlayers_raw =
   // Note, so that we do not pass all the features along to the Layer
   // options, we use the options.options to give to Layer
   options.options.drupalID = options.drupalID;
-  var layer = new OpenLayers.Layer.Vector(title, options.options);
-
   options.options.styleMap = Drupal.openlayers.getStyleMap(map, options.drupalID);
 
+  var layer = new OpenLayers.Layer.Vector(title, options.options);
+
   if (options.features) {
     Drupal.openlayers.addFeatures(map, layer, options.features);
   }
Only in openlayers_new/includes/layer_types/js: raw.js~
