Class RenderFetchStrategy
Implements
Inherited Members
Namespace: Mapsui.Tiling.Rendering
Assembly: Mapsui.Tiling.dll
Syntax
public class RenderFetchStrategy : IRenderFetchStrategy
Methods
| Edit this page View SourceGet(MRect, double, ITileSchema, ITileCache<IFeature?>)
Given the current extent and resolution it determines which tiles should be returned from the memory cache
Declaration
public IList<IFeature> Get(MRect extent, double resolution, ITileSchema schema, ITileCache<IFeature?> memoryCache)
Parameters
Type | Name | Description |
---|---|---|
MRect | extent | The extent of the target area |
double | resolution | The resolution of the target area |
ITileSchema | schema | The tile schema of the tile source |
ITileCache<IFeature> | memoryCache | The cached features from which to select |
Returns
Type | Description |
---|---|
IList<IFeature> |
GetRecursive(IDictionary<TileIndex, IFeature>, ITileSchema, ITileCache<IFeature?>, Extent, int)
Declaration
public static void GetRecursive(IDictionary<TileIndex, IFeature> resultTiles, ITileSchema schema, ITileCache<IFeature?> cache, Extent extent, int level)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<TileIndex, IFeature> | resultTiles | |
ITileSchema | schema | |
ITileCache<IFeature> | cache | |
Extent | extent | |
int | level |