Example #1
0
 public void FetchTile(MapTile Tile)
 {
     OnTileDownloading(Tile);
     ThreadPool.QueueUserWorkItem(_DownloadTile, Tile);
 }
Example #2
0
 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)));
 }