mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-05-07 13:37:47 +00:00
Check TileSource.GetUri arguments
This commit is contained in:
parent
c9316bee74
commit
4b4eecf810
3 changed files with 6 additions and 6 deletions
|
|
@ -12,7 +12,8 @@ namespace MapControl
|
|||
{
|
||||
Uri uri = null;
|
||||
|
||||
if (UriFormat != null && Subdomains != null && Subdomains.Length > 0 && zoomLevel > 0)
|
||||
if (UriFormat != null && Subdomains != null && Subdomains.Length > 0 &&
|
||||
x >= 0 && y >= 0 && zoomLevel > 0)
|
||||
{
|
||||
var subdomain = Subdomains[(x + y) % Subdomains.Length];
|
||||
var quadkey = new char[zoomLevel];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue