Skip to content

Commit

Permalink
change Czech/CzechTuristMapProvider URL to a working one
Browse files Browse the repository at this point in the history
  • Loading branch information
Ing. Jakub Jelínek committed Mar 27, 2018
1 parent 6222e93 commit 76f7672
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,13 @@ public override PureImage GetTileImage(GPoint pos, int zoom)

string MakeTileImageUrl(GPoint pos, int zoom, string language)
{
// http://m3.mapserver.mapy.cz/wtourist-m/14-8802-5528
// http://m3.mapserver.mapy.cz/wtourist-m/14-8802-5528
// https://mapserver.mapy.cz/turist-m/11-1101-692

return string.Format(UrlFormat, GetServerNum(pos, 3) + 1, zoom, pos.X, pos.Y);
return string.Format(UrlFormat, GetServerNum(pos, 3) + 1, zoom, pos.X, pos.Y);
}

static readonly string UrlFormat = "http://m{0}.mapserver.mapy.cz/wturist-m/{1}-{2}-{3}";
//"http://m{0}.mapserver.mapy.cz/wturist-m/{1}-{2}-{3}";
static readonly string UrlFormat = "https://mapserver.mapy.cz/turist-m/{1}-{2}-{3}";
}
}

0 comments on commit 76f7672

Please sign in to comment.