[Users] map chooser

Eric Lemoine eric.lemoine at camptocamp.com
Mon May 10 17:05:58 CEST 2010


2010/5/10 ivan marchesini <ivan.marchesini at gmail.com>:
> Hi,
> which is, in your opinion, the best solution to create a drop down list
> allowing users to choose bettween some defined openlayer.map to
> visualize inside the GeoExt.mapPanel ??
>
> I think that the legendPanel and the LayerTree should update themself
> automatically, since they are connected to the mapPanel..  I'm wrong??


Currently there's no way to change a map panel's map, or a layer
tree's map. So I think you should, if possible for you, work at the
layer level, i.e. remove and add layers when a new "map" is selected.

Cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list