[OpenLayers-Users] Put different colors in a vector

JuKiM rifins at gmail.com
Mon Jun 21 12:27:40 EDT 2010


Hi,

I would like to know if there is any way to set different colors to
different segments of a vector.. (Openlayers.features.vector)
var linearRing = new OpenLayers.Geometry.LinearRing(pointList);
var polygonFeature = new OpenLayers.Feature.Vector(linearRing, null,
style_poly);

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100621/3d59e7b1/attachment.html


More information about the Users mailing list