> return selectedColor; > vector.redraw(); You can't return AND then execute some more code. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Help-with-changing-the-color-of-drawn-features-tp5328663p5341259.html Sent from the OpenLayers Users mailing list archive at Nabble.com.