Re: [OpenLayers-Users] Put different colors in a vector

2010-06-21 Thread giraam
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

[OpenLayers-Users] Put different colors in a vector

2010-06-21 Thread JuKiM
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! _