diff --git a/Changelog.md b/Changelog.md index 47858c51d..4f416c238 100644 --- a/Changelog.md +++ b/Changelog.md @@ -135,3 +135,4 @@ Be aware that code written for 1.9 will not work out of the box because DotSpati - In InRamImageData.Open don't draw the image unscaled because this can cause the image not to be drawn - FeatureTypeFromGeometryType Method updated to work with GeometryCollection (#1044) - The SpatiaLite plugin to be able to load SpatiaLite databases of version 4 and higher (#1061) +- WebMap-Plugin fails fetching tiles for specific WMS (#1074) \ No newline at end of file diff --git a/Source/DotSpatial.Plugins.WebMap/WMS/WmsTileSource.cs b/Source/DotSpatial.Plugins.WebMap/WMS/WmsTileSource.cs index 60c2e869f..00dba262f 100644 --- a/Source/DotSpatial.Plugins.WebMap/WMS/WmsTileSource.cs +++ b/Source/DotSpatial.Plugins.WebMap/WMS/WmsTileSource.cs @@ -40,7 +40,7 @@ public static WmsTileSource Create(WmsInfo info) }; var request = new WmsRequest( - new Uri(info.WmsCapabilities.Capability.Request.GetCapabilities.DCPType[0].Http.Get.OnlineResource.Href), + new Uri(info.WmsCapabilities.Capability.Request.GetMap.DCPType[0].Http.Get.OnlineResource.Href), schema, new List { info.Layer.Name }, info.Style == null ? null : new List { info.Style },