Slide tile layer.
More...
|
| | SlideTileLayer (ISlideSource source=null, int minTiles=200, int maxTiles=300, IDataFetchStrategy dataFetchStrategy=null, IRenderFetchStrategy renderFetchStrategy=null, int minExtraTiles=-1, int maxExtraTiles=-1, Func< TileInfo, Task< IFeature > > fetchTileAsFeature=null) |
| |
◆ SlideTileLayer()
| BioLib.SlideTileLayer.SlideTileLayer |
( |
ISlideSource | source = null, |
|
|
int | minTiles = 200, |
|
|
int | maxTiles = 300, |
|
|
IDataFetchStrategy | dataFetchStrategy = null, |
|
|
IRenderFetchStrategy | renderFetchStrategy = null, |
|
|
int | minExtraTiles = -1, |
|
|
int | maxExtraTiles = -1, |
|
|
Func< TileInfo, Task< IFeature > > | fetchTileAsFeature = null ) |
33 : base(source, minTiles, maxTiles, dataFetchStrategy, renderFetchStrategy, minExtraTiles, maxExtraTiles, (Func<BruTile.TileInfo, Task<IFeature>>)fetchTileAsFeature)
34 {
35 Name = "TileLayer";
36 _slideSource = source;
37 }
◆ Resolutions
| override IReadOnlyList<double> BioLib.SlideTileLayer.Resolutions |
|
get |
40 {
41 get
42 {
43 var resolution = new List<double>()
44 {
45 0.0625,0.125,0.25,0.5,1,2,4,8,16,32,64,128,256,512,1024,2048,4096
46 };
47 var values = _slideSource.Schema.Resolutions.Values.Select(_ => _.UnitsPerPixel);
48 return GetNearest(resolution, values);
49 }
50 }
The documentation for this class was generated from the following file:
- Source/Bio/SlideTileLayer.cs