Ali Khan wrote: > some what. This much I knew already but I was hoping to grab the layer > visible as well so I knew which layer to query data for.
I suppose you'd want to iterate through the list of all layers and stop at the first that's both visible and also queryable. Should be simple, if "queryable" can be defined in calculable terms. (the object's class? some custom attribute you stick in there? all of them?) -- Gregor Mosheh / Greg Allensworth System Administrator, HostGIS cartographic development & hosting services http://www.HostGIS.com/ "Remember that no one cares if you can back up, only if you can restore." - AMANDA _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
