Search Results for

    Show / Hide Table of Contents

    Class GenericCollectionLayer<T>

    Inheritance
    object
    BaseLayer
    GenericCollectionLayer<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 GenericCollectionLayer<T> : BaseLayer, ILayer, IAnimatable, INotifyPropertyChanged, IDisposable where T : IEnumerable<IFeature>, new()
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    GenericCollectionLayer()

    Declaration
    public GenericCollectionLayer()

    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 T Features { get; set; }
    Property Value
    Type Description
    T

    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