Index: Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapData.cs
===================================================================
diff -u -r709931efbca2f60911829a07dc275f19b2ad0af0 -r7342bdbb53114c7b63144219a8fa9df9a097192a
--- Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapData.cs (.../BackgroundMapData.cs) (revision 709931efbca2f60911829a07dc275f19b2ad0af0)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapData.cs (.../BackgroundMapData.cs) (revision 7342bdbb53114c7b63144219a8fa9df9a097192a)
@@ -46,5 +46,10 @@
/// Gets or sets the transparency of the background.
///
public RoundedDouble Transparency { get; set; }
+
+ ///
+ /// Gets or sets the type of the background map data.
+ ///
+ public BackgroundMapDataType BackgroundMapDataType { get; set; }
}
}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapDataType.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapDataType.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/BackgroundMapDataType.cs (revision 7342bdbb53114c7b63144219a8fa9df9a097192a)
@@ -0,0 +1,39 @@
+// Copyright (C) Stichting Deltares 2016. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+namespace Ringtoets.Common.Data.AssessmentSection
+{
+ ///
+ /// Enumeration that defines the possible types of a .
+ ///
+ public enum BackgroundMapDataType
+ {
+ ///
+ /// Web Map Tile Service background map data type.
+ ///
+ Wmts,
+
+ ///
+ /// Well known tile source background map data type.
+ ///
+ WellKnown
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj
===================================================================
diff -u -r709931efbca2f60911829a07dc275f19b2ad0af0 -r7342bdbb53114c7b63144219a8fa9df9a097192a
--- Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision 709931efbca2f60911829a07dc275f19b2ad0af0)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision 7342bdbb53114c7b63144219a8fa9df9a097192a)
@@ -40,6 +40,7 @@
+
Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/BackgroundMapDataTest.cs
===================================================================
diff -u -r709931efbca2f60911829a07dc275f19b2ad0af0 -r7342bdbb53114c7b63144219a8fa9df9a097192a
--- Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/BackgroundMapDataTest.cs (.../BackgroundMapDataTest.cs) (revision 709931efbca2f60911829a07dc275f19b2ad0af0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssessmentSection/BackgroundMapDataTest.cs (.../BackgroundMapDataTest.cs) (revision 7342bdbb53114c7b63144219a8fa9df9a097192a)
@@ -37,6 +37,7 @@
Assert.IsTrue(backgroundMapData.IsVisible);
Assert.AreEqual(2, backgroundMapData.Transparency.NumberOfDecimalPlaces);
Assert.AreEqual(0, backgroundMapData.Transparency.Value);
+ Assert.AreEqual(BackgroundMapDataType.Wmts, backgroundMapData.BackgroundMapDataType);
}
}
}
\ No newline at end of file