[OpenLayers-Users] Vector/GML Thematic
Andreas Hocevar
andreas.hocevar at gmail.com
Wed Jan 30 03:38:40 EST 2008
Andrew-
Andrew de klerk wrote:
> I remeber reading somewhere that presenting a GML with a thematic (i.e.
> different colours for different polygons based upon a Field atrtribute) was
> currently under development, but I cannot seem to find the development
> code......Is this true, or am I missing something completely and its is
> already available.
>
This is already in OpenLayers trunk. See
http://trac.openlayers.org/wiki/Styles for a tutorial, and
http://www.openlayers.org/dev/examples/georss-flickr.html for an example
to get you started. The classes used for that are OpenLayers.Style and
OpenLayers.Rule.*
Regards,
Andreas.
More information about the Users
mailing list