Update TileSource.cs

This commit is contained in:
ClemensFischer 2024-07-14 09:37:07 +02:00
parent 6c6ee97a77
commit c2a5394d8e

View file

@ -36,7 +36,7 @@ namespace MapControl
{
uriTemplate = value;
if (Subdomains == null && uriTemplate != null && uriTemplate.Contains("{s}"))
if (uriTemplate != null && uriTemplate.Contains("{s}") && Subdomains == null)
{
Subdomains = new string[] { "a", "b", "c" }; // default OpenStreetMap subdomains
}