[Users] extending/altering GeoExt?

William Kyngesburye woklist at kyngchaos.com
Thu Aug 25 21:29:58 CEST 2011


Related to my checkedGroup question earlier...  I found that I can deselect all items in a checkedGroup if I remove the "enforce at least one visible" layer check in LayerNode.js.

Rather than hack GeoExt, I figure it's best to somehow extend the geoext tree layernode.  I see there are "plugins" - would this be the way to do it?  Where is the plugin API documented?

Or is it a simple matter using Ext.extend (like geoext does) on the geoext layernode and overriding the enforceOneVisible() method?

Both options are getting into shaky ground for my meagre JS skills ;)

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect




More information about the Users mailing list