support WMS and grouped layers