Search Results for

    Show / Hide Table of Contents

    Class RasterizingLayer

    Inheritance
    object
    BaseLayer
    RasterizingLayer
    Implements
    ILayer
    IAnimatable
    INotifyPropertyChanged
    IDisposable
    IAsyncDataFetcher
    ISourceLayer
    Inherited Members
    BaseLayer.PropertyChanged
    BaseLayer.DataChanged
    BaseLayer.Id
    BaseLayer.Tag
    BaseLayer.MinVisible
    BaseLayer.MaxVisible
    BaseLayer.Enabled
    BaseLayer.Name
    BaseLayer.Opacity
    BaseLayer.Busy
    BaseLayer.Style
    BaseLayer.Attribution
    BaseLayer.Resolutions
    BaseLayer.IsMapInfoLayer
    BaseLayer.DataHasChanged()
    BaseLayer.ToString()
    BaseLayer.OnPropertyChanged(string)
    BaseLayer.OnDataChanged(DataChangedEventArgs)
    BaseLayer.Dispose(bool)
    BaseLayer.Dispose()
    BaseLayer.UpdateAnimations()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Mapsui.Layers
    Assembly: Mapsui.dll
    Syntax
    public class RasterizingLayer : BaseLayer, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable, IAsyncDataFetcher, ISourceLayer

    Constructors

    | Edit this page View Source

    RasterizingLayer(ILayer, int, IRenderer?, float, RenderFormat)

    Declaration
    public RasterizingLayer(ILayer layer, int delayBeforeRasterize = 1000, IRenderer? rasterizer = null, float pixelDensity = 1, RenderFormat renderFormat = RenderFormat.Png)
    Parameters
    Type Name Description
    ILayer layer
    int delayBeforeRasterize
    IRenderer rasterizer
    float pixelDensity
    RenderFormat renderFormat

    Properties

    | Edit this page View Source

    Delayer

    Declaration
    public Delayer Delayer { get; }
    Property Value
    Type Description
    Delayer
    | Edit this page View Source

    Extent

    Returns the envelope of all available data in the layer

    Declaration
    public override MRect? Extent { get; }
    Property Value
    Type Description
    MRect
    Overrides
    BaseLayer.Extent
    | Edit this page View Source

    SourceLayer

    Declaration
    public ILayer SourceLayer { get; }
    Property Value
    Type Description
    ILayer
    | Edit this page View Source

    SymbolSize

    Declaration
    public static double SymbolSize { get; set; }
    Property Value
    Type Description
    double

    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
    public void AbortFetch()
    | Edit this page View Source

    ClearCache()

    Clear cache of layer

    Declaration
    public void ClearCache()
    | 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
    Type Description
    IEnumerable<IFeature>
    Overrides
    BaseLayer.GetFeatures(MRect, double)
    | 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
    Type Name Description
    MSection section
    Returns
    Type Description
    Viewport

    Implements

    ILayer
    IAnimatable
    INotifyPropertyChanged
    IDisposable
    IAsyncDataFetcher
    ISourceLayer

    Extension Methods

    LayerExtensions.WaitForLoadingAsync(ILayer)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX