From 046f40a8596213c97451402e40c8835c7c38145b Mon Sep 17 00:00:00 2001 From: Clemens Date: Wed, 22 Sep 2021 16:58:31 +0200 Subject: [PATCH] Removed subdomain specifiers from tile URLs --- MapControl/Shared/MapTileLayer.cs | 2 +- SampleApps/Shared/MapLayers.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MapControl/Shared/MapTileLayer.cs b/MapControl/Shared/MapTileLayer.cs index 32ab59fa..fd8bff44 100644 --- a/MapControl/Shared/MapTileLayer.cs +++ b/MapControl/Shared/MapTileLayer.cs @@ -40,7 +40,7 @@ namespace MapControl { return new MapTileLayer { - TileSource = new TileSource { UriFormat = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" }, + TileSource = new TileSource { UriFormat = "https://tile.openstreetmap.org/{z}/{x}/{y}.png" }, SourceName = "OpenStreetMap", Description = "© [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)" }; diff --git a/SampleApps/Shared/MapLayers.cs b/SampleApps/Shared/MapLayers.cs index d26147b1..9d0c6b30 100644 --- a/SampleApps/Shared/MapLayers.cs +++ b/SampleApps/Shared/MapLayers.cs @@ -27,7 +27,7 @@ namespace ViewModel "OpenStreetMap", new MapTileLayer { - TileSource = new TileSource { UriFormat = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" }, + TileSource = new TileSource { UriFormat = "https://tile.openstreetmap.org/{z}/{x}/{y}.png" }, SourceName = "OpenStreetMap", Description = "© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)" } @@ -36,7 +36,7 @@ namespace ViewModel "OpenStreetMap German", new MapTileLayer { - TileSource = new TileSource { UriFormat = "https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png" }, + TileSource = new TileSource { UriFormat = "https://tile.openstreetmap.de/{z}/{x}/{y}.png" }, SourceName = "OpenStreetMap German", Description = "© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)" } @@ -45,7 +45,7 @@ namespace ViewModel "OpenStreetMap French", new MapTileLayer { - TileSource = new TileSource { UriFormat = "https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png" }, + TileSource = new TileSource { UriFormat = "https://tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png" }, SourceName = "OpenStreetMap French", Description = "© [OpenStreetMap France](https://www.openstreetmap.fr/mentions-legales/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)" } @@ -54,7 +54,7 @@ namespace ViewModel "OpenTopoMap", new MapTileLayer { - TileSource = new TileSource { UriFormat = "https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png" }, + TileSource = new TileSource { UriFormat = "https://tile.opentopomap.org/{z}/{x}/{y}.png" }, SourceName = "OpenTopoMap", Description = "© [OpenTopoMap](https://opentopomap.org/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)", MaxZoomLevel = 17