protected TileSource(TileSchema tileSchema, ITileCache <byte[]> tileCache, TileDownloader tileDownloader, string id) : base(id) { this.Schema = tileSchema; this.tileCache = tileCache ?? new MemoryTileCache <byte[]>(); this.tileDownloader = this.tileDownloader ?? new ImageTileDownloader(tileSchema); }
protected TileSource(TileSchema tileSchema, string id) : base(id) { this.tileSchema = tileSchema; this.tileDownloader = this.tileDownloader ?? new ImageTileDownloader(); this.tileDownloader.TileCache = new MemoryTileCache <byte[]>(); this.tileFormat = TileFormat.Png; }
protected TileSource(TileSchema tileSchema, ITileCache <byte[]> tileCache, TileDownloader tileDownloader) : this(tileSchema, tileCache, tileDownloader, Utility.CreateUniqueId()) { }
protected TileSource(TileSchema tileSchema, TileDownloader tileDownloaer) : this(tileSchema, null, tileDownloaer) { }