Skip to content

Commit f4d5ca7

Browse files
authored
Merge pull request #5213 from mhugent/capabilities_exclusive_groups
[FEATURE]: In GetProjectSettings, show if a legend group is mutually exclusive
2 parents a71f2ad + 26aae58 commit f4d5ca7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/services/wms/qgswmsgetcapabilities.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,7 @@ namespace QgsWms
842842
if ( projectSettings )
843843
{
844844
layerElem.setAttribute( QStringLiteral( "visible" ), treeGroupChild->isVisible() );
845+
layerElem.setAttribute( QStringLiteral( "mutuallyExclusive" ), treeGroupChild->isMutuallyExclusive() );
845846
}
846847

847848
QString shortName = treeGroupChild->customProperty( QStringLiteral( "wmsShortName" ) ).toString();

0 commit comments

Comments
 (0)