wms query only for visible layers