Class RasterizingLayer
Inheritance
RasterizingLayer
Assembly: Mapsui.dll
Syntax
public class RasterizingLayer : BaseLayer, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable, IAsyncDataFetcher, ISourceLayer
Constructors
|
Edit this page
View Source
Declaration
public RasterizingLayer(ILayer layer, int delayBeforeRasterize = 1000, IRenderer? rasterizer = null, float pixelDensity = 1, RenderFormat renderFormat = RenderFormat.Png)
Parameters
Properties
|
Edit this page
View Source
Delayer
Declaration
public Delayer Delayer { get; }
Property Value
|
Edit this page
View Source
Extent
Returns the envelope of all available data in the layer
Declaration
public override MRect? Extent { get; }
Property Value
Overrides
|
Edit this page
View Source
SourceLayer
Declaration
public ILayer SourceLayer { get; }
Property Value
|
Edit this page
View Source
SymbolSize
Declaration
public static double SymbolSize { get; set; }
Property Value
Methods
|
Edit this page
View Source
AbortFetch()
Aborts the tile fetches that are in progress. If this method is not called
the threads will terminate naturally. It will just take a little longer.
Declaration
|
Edit this page
View Source
ClearCache()
Declaration
|
Edit this page
View Source
GetFeatures(MRect, double)
Get all features in a given MRect for a given resolution
Declaration
public override IEnumerable<IFeature> GetFeatures(MRect box, double resolution)
Parameters
Type |
Name |
Description |
MRect |
box |
|
double |
resolution |
Resolution of viewport
|
Returns
Overrides
|
Edit this page
View Source
RefreshData(FetchInfo)
Indicates that there has been a change in the view of the map
Declaration
public void RefreshData(FetchInfo fetchInfo)
Parameters
Type |
Name |
Description |
FetchInfo |
fetchInfo |
FetchInfo
|
|
Edit this page
View Source
ToViewport(MSection)
Declaration
public static Viewport ToViewport(MSection section)
Parameters
Returns
Implements
Extension Methods