Index: Core/Components/src/Core.Components.Gis/Data/WmtsMapData.cs =================================================================== diff -u -r3722e29f53ce7db0f11fb184cdc2a76d33078cf2 -r8ea21c826e76eda4781347243096d139f5fc2615 --- Core/Components/src/Core.Components.Gis/Data/WmtsMapData.cs (.../WmtsMapData.cs) (revision 3722e29f53ce7db0f11fb184cdc2a76d33078cf2) +++ Core/Components/src/Core.Components.Gis/Data/WmtsMapData.cs (.../WmtsMapData.cs) (revision 8ea21c826e76eda4781347243096d139f5fc2615) @@ -54,6 +54,7 @@ private WmtsMapData(string name) : base(name) { transparency = new RoundedDouble(2, 0.0); + IsVisible = false; } /// @@ -136,6 +137,7 @@ SelectedCapabilityName = selectedCapabilityName; IsConfigured = true; + IsVisible = true; } /// @@ -147,6 +149,7 @@ SelectedCapabilityName = null; IsConfigured = false; + IsVisible = false; } } } \ No newline at end of file Index: Core/Components/test/Core.Components.Gis.Test/Data/WmtsMapDataTest.cs =================================================================== diff -u -r3722e29f53ce7db0f11fb184cdc2a76d33078cf2 -r8ea21c826e76eda4781347243096d139f5fc2615 --- Core/Components/test/Core.Components.Gis.Test/Data/WmtsMapDataTest.cs (.../WmtsMapDataTest.cs) (revision 3722e29f53ce7db0f11fb184cdc2a76d33078cf2) +++ Core/Components/test/Core.Components.Gis.Test/Data/WmtsMapDataTest.cs (.../WmtsMapDataTest.cs) (revision 8ea21c826e76eda4781347243096d139f5fc2615) @@ -55,6 +55,7 @@ Assert.AreEqual(0.0, mapData.Transparency.Value); Assert.IsTrue(mapData.IsConfigured); + Assert.IsTrue(mapData.IsVisible); } [Test] @@ -141,6 +142,7 @@ Assert.AreEqual("brtachtergrondkaart", mapData.SelectedCapabilityName); Assert.AreEqual(0.0, mapData.Transparency.Value); Assert.IsTrue(mapData.IsConfigured); + Assert.IsTrue(mapData.IsVisible); } [Test] @@ -155,6 +157,7 @@ Assert.IsNull(mapData.SelectedCapabilityName); Assert.AreEqual(0.0, mapData.Transparency.Value); Assert.IsFalse(mapData.IsConfigured); + Assert.IsFalse(mapData.IsVisible); } [Test] @@ -198,6 +201,7 @@ Assert.AreEqual(url, mapData.SourceCapabilitiesUrl); Assert.AreEqual(selectedCapabilityName, mapData.SelectedCapabilityName); Assert.IsTrue(mapData.IsConfigured); + Assert.IsTrue(mapData.IsVisible); } [Test] @@ -213,6 +217,7 @@ Assert.IsNull(mapData.SourceCapabilitiesUrl); Assert.IsNull(mapData.SelectedCapabilityName); Assert.IsFalse(mapData.IsConfigured); + Assert.IsFalse(mapData.IsVisible); } } } \ No newline at end of file