public TileInfo(int column, int row, double resolution, TileSchema tileSchema) { Width = 256; Height = 256; ZoomLevel = new ZoomLevel(resolution); BoundingBox = GetBoundingBoxByColumnRow(column, row); }
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; }
public TileMatrix(double resolution, TileSchema tileSchema, string id) { this.ZoomLevel = new ZoomLevel(resolution); this.TileSchema = tileSchema; this.Id = id; this.TileWidth = 256; this.TileHeight = 256; }
public TileInfo(int column, int row, double resolution, TileSchema tileSchema) { this.tileX = -1; this.tileY = -1; this.width = 256; this.height = 256; this.zoomLevel = new ZoomLevel(resolution); this.Extent = GetBoundingBoxByColumnRow(column, row); }
public TileInfo(BoundingBox boundingBox, TileSchema tileSchema) { Width = 256; Height = 256; BoundingBox = boundingBox; Schema = tileSchema; ZoomLevel = GetZoomLevel(); InitilizeColumnRowWithBounds(); }
public TileInfo(BoundingBox extent, TileSchema tileSchema) { this.tileX = -1; this.tileY = -1; this.width = 256; this.height = 256; this.Extent = extent; this.TileSchema = tileSchema; this.ZoomLevel = GetZoomLevel(); this.InitilizeColumnRowWithBounds(); }
protected virtual TileDownloader CreateTileDownloader(TileSchema tileSchema) { TileDownloader tileDownloader = new ImageTileDownloader(tileSchema); return(tileDownloader); }
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) { }
protected TileSource(TileSchema tileSchema) : this(tileSchema, null, null) { }
public TileMatrix(double resolution, TileSchema tileScehma) : this(resolution, tileScehma, Utility.CreateUniqueId()) { }
public ImageTileDownloader(TileSchema tileSchema) { this.tileSchema = tileSchema; this.tileRequests = new Dictionary <TileSource, AsyncTileRequest>(); }
protected TileSource(TileSchema tileSchema) : this(tileSchema, Utility.CreateUniqueId()) { }