Hello Piero, many thanks for your reply. I implemented the code you gave me -only applied the styles so far, leaving the strategy for the defaults- however, the HTML part can't reach the function since it is wrenched in the init() part that sets up the map. And when I move the vector and the styling -along with the function- outside the init() part -actually, when I move it right under the <script type=text/javascript>, this time the compiler tells me that "color" is not a function. What should I do ? Thanks again.
Koveras -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Help-with-changing-the-color-of-drawn-features-tp5328663p5328724.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users