Thanks Matt!

If I remove the styleMap option in my layer constructor the features are
rendered with the default stroke, and fill color's. 

Any other ideas? Note that I am using Format.WKT:

var wktParser = new OpenLayers.Format.WKT({                                     
        
  'internalProjection': projMap, 
  'externalProjection': projLatLon
});
                                                
$.each($("table#" + table + ' td.feature'), function(index, feature) {          
                                
  tableLayer.addFeatures([                                                      
                         
  wktParser.read($(feature).text())                                             
                                                                         
  ]);                           
});
                                




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/StyleMap-for-vector-layer-tp5026037p5026508.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to