Hi devs, Here's some new features and bug fixes for the widget :
* (new) before creating and adding nodes using a layer object, its 'displayInLayerSwitcher' property is checked first. If set to false, no node is added. * (new) options to toggle on and off the legends (per layer type) : wmsLayerNodes and vectorLayerNodes * (fix) layer with visibility: true now have their legend correctly shown on first load * (new) vector legends now supported Feel free to take a peak or comment : http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/examples/tree-builder.html Thanks to Phil Scadden for reporting the above issues and new potential upgrades. Regards, Alexandre On 10-10-29 01:10 AM, Miles Jordan wrote: > Alexandre Dube wrote: > >> Hi, >> >> Building a layertree is hard IMHO, so I started making a ux widget >> that would basically construct the tree nodes for me depending on the >> OpenLayers.Layer object type and its 'group' property. I commited my >> work so far to a sandbox so if you wish to take a peak you're welcomed >> to. >> >> http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/e >> xamples/tree-builder.html >> >> If you have a better idea for the name of the widget, please let me >> know. >> >> Regards, >> >> > Alexandre, > > That's really cool. Nice work! I've been looking for a better way to > integrate multiple symbology rules into the layer tree so I'll raise my hand > to give it a whirl. > > Regards, > > Miles Jordan, Systems Analyst > Australian Antarctic Data Centre | Australian Antarctic Division > Dept. for Sustainability, Environment, Water, Population and Communities > +61 3 6232 3486 | http://data.aad.gov.au > -- Alexandre Dubé Mapgears www.mapgears.com _______________________________________________ Dev mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/dev
