Hi there, this might help you! =)
http://workshops.opengeo.org/openlayers-intro/vector.html
cheers,
gilbert
-
just another web developer
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Put-different-colors-in-a-vector-tp5205061p5205118.html
Sent from the OpenLayer
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!
_