[Users] GeoExt Tree: why is it recommend to use only 1 store?

Andreas Hocevar ahocevar at opengeo.org
Sun Mar 18 12:06:44 CET 2012


The answer is very simple: As long as your tree is not used to control
the layers of a map (order, visibility), you can have as many stores
as you want. But usually the tree is used to control the map's layers,
and this is only possible if the tree uses the map's layer store
(mapPanel.layers).

Andreas.

On Thu, Mar 15, 2012 at 1:53 PM, Robert Buckley
<robertdbuckley at yahoo.com> wrote:
> Hi,
>
> what is the real advantage of having one store and using filters to organise
> the tree structure instead of having multiple stores which load each layer
> container separately?
>
> A question that has been bothering me for some time.
>
> yours,
>
> Rob
>
> _______________________________________________
> 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