Hi,

I am trying to style individual feature with OpenLayers.Feature.Vector 
statement, as this:

                              ...
                              lines = new 
OpenLayers.Geometry.LineString([p1,p2, p3, p4, p1]);
                              polygon1 = new OpenLayers.Feature.Vector(lines, 
{strokeWidth:5, 'strokeColor': '#ff0000'});

However, it's not working for me.

Is there anything missing?

Thanks.

JK
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to