[Users] TreePanel with Vector Legend

Andreas Hocevar ahocevar at opengeo.org
Mon Aug 2 08:13:57 CEST 2010


Hi,

On Aug 2, 2010, at 05:41 , Adam Ratcliffe wrote:

> I'd like to dynamically render symbols based upon the layer geometry
> type and styles in a TreePanel similar to the vector legend example
> here: http://dev.geoext.org/trunk/geoext/examples/vector-legend.html
> 
> Is this possible?

Yes! Just configure your vector layer with a StyleMap. The VectorLegend will be built from the style and rules of the "default" render intent.

Regards,
Andreas.

> 
> Cheers
> Adam
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list