Index: Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs
===================================================================
diff -u -rcb3993d6878d38a6199d4d94fb1723d1f879763e -r74efc36a4db93f588a262a08735fb1fb0f6c096b
--- Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs (.../WmtsLayerConfiguration.cs) (revision cb3993d6878d38a6199d4d94fb1723d1f879763e)
+++ Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs (.../WmtsLayerConfiguration.cs) (revision 74efc36a4db93f588a262a08735fb1fb0f6c096b)
@@ -47,7 +47,7 @@
///
/// Creates an instance of .
///
- /// The capabilities url of the WMTS.
+ /// The capabilities URL of the WMTS.
/// The capability name to get tiles from.
/// The preferred tile image format, as MIME-type.
/// The directory path to the persistent tile cache.
@@ -69,7 +69,7 @@
///
/// Creates a new initialized instance of .
///
- /// The capabilities url of the WMTS.
+ /// The capabilities URL of the WMTS.
/// The tile source.
/// Thrown when creating the file
/// cache failed.
@@ -90,7 +90,7 @@
///
/// Creates a fully initialized instance of .
///
- /// The capabilities url of the WMTS.
+ /// The capabilities URL of the WMTS.
/// The capability name to get tiles from.
/// The preferred tile image format, as MIME-type.
/// The new .
@@ -148,7 +148,7 @@
///
/// Validate the configuration parameters.
///
- /// The capabilities url of the WMTS.
+ /// The capabilities URL of the WMTS.
/// The capability name to get tiles from.
/// The preferred tile image format, as MIME-type.
/// Thrown when any input argument is null.
Index: Core/Components/src/Core.Components.BruTile/Core.Components.BruTile.csproj
===================================================================
diff -u -rc0f10b1f5b785709615b03e442128e351fe54a30 -r74efc36a4db93f588a262a08735fb1fb0f6c096b
--- Core/Components/src/Core.Components.BruTile/Core.Components.BruTile.csproj (.../Core.Components.BruTile.csproj) (revision c0f10b1f5b785709615b03e442128e351fe54a30)
+++ Core/Components/src/Core.Components.BruTile/Core.Components.BruTile.csproj (.../Core.Components.BruTile.csproj) (revision 74efc36a4db93f588a262a08735fb1fb0f6c096b)
@@ -104,6 +104,7 @@
ResXFileCodeGenerator
Resources.Designer.cs
+ Designer
Index: Core/Components/src/Core.Components.BruTile/Properties/Resources.Designer.cs
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -r74efc36a4db93f588a262a08735fb1fb0f6c096b
--- Core/Components/src/Core.Components.BruTile/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/src/Core.Components.BruTile/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 74efc36a4db93f588a262a08735fb1fb0f6c096b)
@@ -120,7 +120,7 @@
}
///
- /// Looks up a localized string similar to Niet in staat om de databronnen op te halen bij de WMTS url '{0}'..
+ /// Looks up a localized string similar to Niet in staat om de databronnen op te halen bij de WMTS URL '{0}'..
///
internal static string TileSourceFactory_ParseWmtsTileSources_Cannot_connect_to_WMTS_0_ {
get {
@@ -129,7 +129,7 @@
}
///
- /// Looks up a localized string similar to Niet in staat om de databron met naam '{0}' te kunnen vinden bij de WMTS url '{1}'..
+ /// Looks up a localized string similar to Niet in staat om de databron met naam '{0}' te kunnen vinden bij de WMTS URL '{1}'..
///
internal static string WmtsLayerConfiguration_GetConfiguredTileSource_Cannot_find_LayerId_0_at_WmtsUrl_1_ {
get {
Index: Core/Components/src/Core.Components.BruTile/Properties/Resources.resx
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -r74efc36a4db93f588a262a08735fb1fb0f6c096b
--- Core/Components/src/Core.Components.BruTile/Properties/Resources.resx (.../Resources.resx) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/src/Core.Components.BruTile/Properties/Resources.resx (.../Resources.resx) (revision 74efc36a4db93f588a262a08735fb1fb0f6c096b)
@@ -130,10 +130,10 @@
Een databron is niet volgens het WMTS protocol aangeleverd.
- Niet in staat om de databronnen op te halen bij de WMTS url '{0}'.
+ Niet in staat om de databronnen op te halen bij de WMTS URL '{0}'.
- Niet in staat om de databron met naam '{0}' te kunnen vinden bij de WMTS url '{1}'.
+ Niet in staat om de databron met naam '{0}' te kunnen vinden bij de WMTS URL '{1}'.
Afbeelding formaat moet opgegeven worden als MIME-type.
Index: Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs
===================================================================
diff -u -r11eb517ba7a480b4a415855798a7fadefc0cfe54 -r74efc36a4db93f588a262a08735fb1fb0f6c096b
--- Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs (.../MapControl.cs) (revision 11eb517ba7a480b4a415855798a7fadefc0cfe54)
+++ Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs (.../MapControl.cs) (revision 74efc36a4db93f588a262a08735fb1fb0f6c096b)
@@ -24,8 +24,6 @@
using System.Linq;
using System.Windows.Forms;
using Core.Common.Base;
-using Core.Components.BruTile.Configurations;
-using Core.Components.BruTile.Forms;
using Core.Components.DotSpatial.Forms.Properties;
using Core.Components.DotSpatial.Layer;
using Core.Components.DotSpatial.Layer.BruTile;
@@ -66,7 +64,7 @@
///
public MapControl()
{
- InitializeMapView();
+ InitializeMap();
TogglePanning();
mapDataCollectionObserver = new RecursiveObserver(HandleMapDataCollectionChange, mdc => mdc.Collection);
@@ -146,7 +144,7 @@
}
}
- private void InitializeMapView()
+ private void InitializeMap()
{
map = new DotSpatialMap
{
Index: Core/Components/src/Core.Components.Gis/Data/WmtsMapData.cs
===================================================================
diff -u -r9c1789fd6fa33b6ea18339bf2474102471ef4510 -r74efc36a4db93f588a262a08735fb1fb0f6c096b
--- Core/Components/src/Core.Components.Gis/Data/WmtsMapData.cs (.../WmtsMapData.cs) (revision 9c1789fd6fa33b6ea18339bf2474102471ef4510)
+++ Core/Components/src/Core.Components.Gis/Data/WmtsMapData.cs (.../WmtsMapData.cs) (revision 74efc36a4db93f588a262a08735fb1fb0f6c096b)
@@ -32,28 +32,28 @@
///
/// Creates a new instance of .
///
- /// The name of the source (for visualization purposes only).
+ /// The name of the map data.
/// The URL to the capabilities of the WMTS.
/// The name of the capability to use.
/// The type of image format. It should be for formatted
/// in MIME.
/// Thrown when
///
- /// - is null or only whitespace.
+ /// - is null or only whitespace.
/// - is not stated as a MIME-type.
///
/// Thrown when ,
/// or is null.
- public WmtsMapData(string displayName, string sourceCapabilitiesUrl, string selectedCapabilityName,
- string preferredFormat) : this(displayName)
+ public WmtsMapData(string name, string sourceCapabilitiesUrl, string selectedCapabilityName,
+ string preferredFormat) : this(name)
{
Configure(sourceCapabilitiesUrl, selectedCapabilityName, preferredFormat);
}
///
/// Creates a new instance of that hasn't been configured.
///
- /// The name of the source.
+ /// The name of the map data.
/// Thrown when is null or only whitespace.
private WmtsMapData(string name) : base(name)
{
Index: Core/Components/test/Core.Components.BruTile.Forms.Test/BruTileWmtsCapabilityFactoryTest.cs
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -r74efc36a4db93f588a262a08735fb1fb0f6c096b
--- Core/Components/test/Core.Components.BruTile.Forms.Test/BruTileWmtsCapabilityFactoryTest.cs (.../BruTileWmtsCapabilityFactoryTest.cs) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/test/Core.Components.BruTile.Forms.Test/BruTileWmtsCapabilityFactoryTest.cs (.../BruTileWmtsCapabilityFactoryTest.cs) (revision 74efc36a4db93f588a262a08735fb1fb0f6c096b)
@@ -54,7 +54,7 @@
// Assert
CannotFindTileSourceException exception = Assert.Throws(call);
- Assert.AreEqual($"Niet in staat om de databronnen op te halen bij de WMTS url '{url}'.", exception.Message);
+ Assert.AreEqual($"Niet in staat om de databronnen op te halen bij de WMTS URL '{url}'.", exception.Message);
}
[Test]
Index: Core/Components/test/Core.Components.BruTile.Test/Configurations/WmtsLayerConfigurationTest.cs
===================================================================
diff -u -r4b24b9c98dd06f31acd9e1282b287c491b07ab2f -r74efc36a4db93f588a262a08735fb1fb0f6c096b
--- Core/Components/test/Core.Components.BruTile.Test/Configurations/WmtsLayerConfigurationTest.cs (.../WmtsLayerConfigurationTest.cs) (revision 4b24b9c98dd06f31acd9e1282b287c491b07ab2f)
+++ Core/Components/test/Core.Components.BruTile.Test/Configurations/WmtsLayerConfigurationTest.cs (.../WmtsLayerConfigurationTest.cs) (revision 74efc36a4db93f588a262a08735fb1fb0f6c096b)
@@ -105,7 +105,7 @@
// Assert
string message = Assert.Throws(call).Message;
- string expectedMessage = $"Niet in staat om de databron met naam '{id}' te kunnen vinden bij de WMTS url '{url}'.";
+ string expectedMessage = $"Niet in staat om de databron met naam '{id}' te kunnen vinden bij de WMTS URL '{url}'.";
Assert.AreEqual(expectedMessage, message);
}
mocks.VerifyAll();