Search Results for

    Show / Hide Table of Contents

    Class MemoryLayer

    The MemoryLayer has all features in memory.

    Inheritance
    object
    BaseLayer
    MemoryLayer
    ObservableMemoryLayer<T>
    Implements
    ILayer
    IAnimatable
    INotifyPropertyChanged
    IDisposable
    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 MemoryLayer : BaseLayer, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable

    Constructors

    | Edit this page View Source

    MemoryLayer()

    Create a new layer

    Declaration
    public MemoryLayer()
    | Edit this page View Source

    MemoryLayer(string)

    Create layer with name

    Declaration
    public MemoryLayer(string layerName)
    Parameters
    Type Name Description
    string layerName

    Name to use for layer

    Properties

    | 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

    Features

    Declaration
    public IEnumerable<IFeature> Features { get; set; }
    Property Value
    Type Description
    IEnumerable<IFeature>

    Methods

    | 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? rect, double resolution)
    Parameters
    Type Name Description
    MRect rect
    double resolution

    Resolution of viewport

    Returns
    Type Description
    IEnumerable<IFeature>
    Overrides
    BaseLayer.GetFeatures(MRect, double)

    Implements

    ILayer
    IAnimatable
    INotifyPropertyChanged
    IDisposable

    Extension Methods

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