[Users] Tabs and WMSGetFeatureInfo event issue(GeoExt1.0)

Dan Ramage dan at inlet.geol.sc.edu
Tue Jun 7 20:27:51 CEST 2011


I've got an interface that currently uses a viewport with 2 tabs, each with
a map and different layers. When I enable a WMS layer, via a layer tree
radio button, to be queried, I'm getting an error of "this.map.getExtent()
is null" from the WMS GetFeatureInfo object. The issue turns out to be the
map object. For reasons unknown to me, the map being used is the map object
from the other tab. 
The tab this is occurring on is the first tab created, and is the active tab
when the page initializes. If I switch tabs and do a GetFeature request on
one of its WMS layers, it succeeds. 
I've got a vector layer on the same problem tab whose SelectFeature click
works correctly.

I am thinking perhaps the order I create certain items is causing the issue,
however I am unsure of really what to look for.

The map is here: http://rcoos.org/carolinasrcoosrev2/crcoos_index.php.


Any hints would be appreciated, and I am hoping by posting this I'll
immediately see the problem.


Dan



More information about the Users mailing list