Hello guys!

I´m trying to create a Blue LineString vector with red stroke(outlinecolor),
I tried that

var layer_style =
OpenLayers.Util.extend({},OpenLayers.Feature.Vector.style['default']);

layer_style.fill = true;
layer_style.fillColor = "#FF0000";
layer_style.fillOpacity = 0.3;

layer_style.stroke = true;
layer_style.strokeColor = "#0000FF";
layer_style.strokeOpacity = 0.3;
layer_style.strokeWidth = 2;


But the line appears only blue... The "red fill" does not appear at all...

Any idea?

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

Reply via email to