[Users] Initial radiobutton state
Eric Lemoine
eric.lemoine at camptocamp.com
Tue Nov 3 08:35:28 CET 2009
On Friday, October 30, 2009, Dan Ramage <dan at inlet.geol.sc.edu> wrote:
> I've got a layer tree with the radio buttons to allow me to select which
> active layer I want to handle a getfeatureinfo request. I've got an initial
> layer that I want the radio button set for when the map loads, however I
> cannot figure out how to do it. The one idea I had was to call getRootNode()
> on the treePanel, then iterate through the nodes to try and find the layer I
> want. I was wondering if perhaps there another approach.
I don't see any.
A patch to GeoExt making it possible to set the radio's initial state
to "checked" would make sense to me. Andreas, or others, any opinion
on this?
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