[OpenLayers-Dev] Style for a GML/WFS layer

Christopher Schmidt crschmidt at metacarta.com
Sat Mar 31 08:31:03 EDT 2007


On Sat, Mar 31, 2007 at 10:19:36AM +0200, Andreas Hocevar wrote:
> Hi,
> 
> now that OpenLayers.Style is removed from OpenLayers trunk, GML and
> WFS layer do not take a style as instantiation parameter any more.
> 
> How can I tell a vector layer (GML/WFS) which style it should use for
> rendering every feature?

There is a patch for this functionality on
http://trac.openlayers.org/ticket/543 , awaiting review.

So the answer is probably 'wait a couple days' ;)

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list