Class RasterizingTileSource
The rasterizing tile provider. Tiles the Layer for faster Rasterizing on Zoom and Move.
Inheritance
RasterizingTileSource
Implements
ILocalTileSource
ITileSource
Assembly: Mapsui.Tiling.dll
Syntax
public class RasterizingTileSource : ILocalTileSource, ITileSource, ILayerFeatureInfo
Constructors
|
Edit this page
View Source
Declaration
public RasterizingTileSource(ILayer layer, float pixelDensity = 1, IPersistentCache<byte[]>? persistentCache = null, IProjection? projection = null, RenderFormat renderFormat = RenderFormat.Png, ITileSchema? tileSchema = null)
Parameters
Properties
|
Edit this page
View Source
Attribution
Declaration
public Attribution Attribution { get; }
Property Value
| Type |
Description |
| Attribution |
|
|
Edit this page
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Edit this page
View Source
PersistentCache
Declaration
public IPersistentCache<byte[]> PersistentCache { get; set; }
Property Value
| Type |
Description |
| IPersistentCache<byte[]> |
|
|
Edit this page
View Source
Schema
Declaration
public ITileSchema Schema { get; }
Property Value
| Type |
Description |
| ITileSchema |
|
Methods
|
Edit this page
View Source
GetFeatureInfoAsync(Viewport, ScreenPosition)
Declaration
public Task<IDictionary<string, IEnumerable<IFeature>>> GetFeatureInfoAsync(Viewport viewport, ScreenPosition screenPosition)
Parameters
Returns
|
Edit this page
View Source
GetTileAsync(TileInfo)
Declaration
public Task<byte[]?> GetTileAsync(TileInfo tileInfo)
Parameters
| Type |
Name |
Description |
| TileInfo |
tileInfo |
|
Returns
|
Edit this page
View Source
ToViewport(MSection)
Declaration
public static Viewport ToViewport(MSection section)
Parameters
Returns
Implements
BruTile.ILocalTileSource
BruTile.ITileSource
Extension Methods