Removed subdomain specifiers from tile URLs

This commit is contained in:
Clemens 2021-09-22 16:58:31 +02:00
parent 9578b6c932
commit 046f40a859
2 changed files with 5 additions and 5 deletions

View file

@ -40,7 +40,7 @@ namespace MapControl
{ {
return new MapTileLayer 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", SourceName = "OpenStreetMap",
Description = "© [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)" Description = "© [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
}; };

View file

@ -27,7 +27,7 @@ namespace ViewModel
"OpenStreetMap", "OpenStreetMap",
new MapTileLayer 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", SourceName = "OpenStreetMap",
Description = "© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)" Description = "© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"
} }
@ -36,7 +36,7 @@ namespace ViewModel
"OpenStreetMap German", "OpenStreetMap German",
new MapTileLayer 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", SourceName = "OpenStreetMap German",
Description = "© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)" Description = "© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"
} }
@ -45,7 +45,7 @@ namespace ViewModel
"OpenStreetMap French", "OpenStreetMap French",
new MapTileLayer 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", SourceName = "OpenStreetMap French",
Description = "© [OpenStreetMap France](https://www.openstreetmap.fr/mentions-legales/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)" Description = "© [OpenStreetMap France](https://www.openstreetmap.fr/mentions-legales/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"
} }
@ -54,7 +54,7 @@ namespace ViewModel
"OpenTopoMap", "OpenTopoMap",
new MapTileLayer 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", SourceName = "OpenTopoMap",
Description = "© [OpenTopoMap](https://opentopomap.org/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)", Description = "© [OpenTopoMap](https://opentopomap.org/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)",
MaxZoomLevel = 17 MaxZoomLevel = 17