[Users] dynamic layer choosing
Eric Lemoine
eric.lemoine at camptocamp.com
Mon Apr 12 11:29:38 CEST 2010
On Mon, Apr 12, 2010 at 10:10 AM, Sarah Schuessler <sarah_flip at yahoo.de> wrote:
> Hi list,
>
> is there a best practice for choosing a layer:
> I have different layer and for one of them I want to get attribute data. By
> now I 'choose' my layer with a GeoExt.data.FeatureStore and a
> OpenLayers.Protocol.WFS.
> I would think of either a window, panel,.. that appears if user have clicked
> on a button choosing the right layer with a combobox, .. or take the checked
> radiobutton at tree to make a getfeatureinfo request. Then the attribute
> data appear at a grid.
>
> What`s the best, easiest?
> Anybody has an example page or a hint?
Hi
One option would be to add radio buttons to layer nodes in the layer
tree. See <http://dev.geoext.org/trunk/geoext/examples/tree.html>.
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