wms-viewer: groups overlay layers into one layer for better performance