mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Removed subdomain specifiers from tile URLs
This commit is contained in:
parent
9578b6c932
commit
046f40a859
|
|
@ -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)"
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue