public void FetchTile(MapTile Tile) { OnTileDownloading(Tile); ThreadPool.QueueUserWorkItem(_DownloadTile, Tile); }
public bool SupportsTile(MapTile Tile) { return((Tile.Zoom >= 0) && (Tile.Zoom <= 18) && (Tile.X >= 0) && (Tile.X < (1 << Tile.Zoom)) && (Tile.Y >= 0) && (Tile.Y < (1 << Tile.Zoom))); }