[Users] How to combine different layer url´s into a TreeNodeRadioButton which allows WMSgetFeatureInfo to work?
Robert Buckley
robertdbuckley at yahoo.com
Mon Mar 12 14:36:13 CET 2012
Hi,
Assuming I have a Geoext tree with the TreeNodeRadioButton plugin (geoext v1.1) installed, but have layers which come from various urls...e.g. /geoserver/wms, /geoserver/gwc/service/wms, or even externals urls ...how can I get the WMSgetFeatureInfo tool to work? At present the first layer made active sets the url. Is there a way to reset the tool after on the radiochange event?
I have this...
activeNode = node;
if(activeNode == node)
{
featureInfo.activate();
selLayer = node.layer;
featureInfo.layers = [selLayer];
}
else
{
featureInfo.deactivate();
}
I tried simply putting " featureInfo.deactivate();" before the activeNode=node; but this didn´t do anything
with thanks,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120312/e93c76b7/attachment.htm
More information about the Users
mailing list