[OpenLayers-Dev] Possible to change draw color for some
Martijn van Oosterhout
kleptog at gmail.com
Fri Feb 22 10:53:38 EST 2008
2008/2/20 Ed Fialkowski <edfialk at gmail.com>:
> I have found some code for changing feature styles, but I think this is for
> features drawn specifically by the user (or hardcoded, added one at a time,
> etc., and not so much for an entire WFS full of features).
Not really. When a feature is inserted it calls a hook which you can
then use to style a feature. Later you can just change the styles on a
feature and it'll change colour/shape/whatever you like.
Have a nice day,
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
More information about the Dev