Show / Hide Table of Contents

    Class WritableLayer

    Inheritance
    System.Object
    BaseLayer
    WritableLayer
    Implements
    ILayer
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    BaseLayer.Transformer
    BaseLayer.GetLayerStyles(ILayer)
    BaseLayer.PropertyChanged
    BaseLayer.DataChanged
    BaseLayer.Id
    BaseLayer.Tag
    BaseLayer.MinVisible
    BaseLayer.MaxVisible
    BaseLayer.Enabled
    BaseLayer.Name
    BaseLayer.CRS
    BaseLayer.Exclusive
    BaseLayer.Opacity
    BaseLayer.Busy
    BaseLayer.Style
    BaseLayer.Transformation
    BaseLayer.Attribution
    BaseLayer.Resolutions
    BaseLayer.IsMapInfoLayer
    BaseLayer.DataHasChanged()
    BaseLayer.IsCrsSupported(String)
    BaseLayer.ToString()
    BaseLayer.OnPropertyChanged(String)
    BaseLayer.OnDataChanged(DataChangedEventArgs)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Mapsui.Layers
    Assembly: Mapsui.dll
    Syntax
    public class WritableLayer : BaseLayer, ILayer, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    Envelope

    Declaration
    public override BoundingBox Envelope { get; }
    Property Value
    Type Description
    BoundingBox
    Overrides
    BaseLayer.Envelope

    Methods

    | Improve this Doc View Source

    Add(IFeature)

    Declaration
    public void Add(IFeature feature)
    Parameters
    Type Name Description
    IFeature feature
    | Improve this Doc View Source

    AddRange(IEnumerable<IFeature>)

    Declaration
    public void AddRange(IEnumerable<IFeature> features)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<IFeature> features
    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    Find(IFeature)

    Declaration
    public IFeature Find(IFeature feature)
    Parameters
    Type Name Description
    IFeature feature
    Returns
    Type Description
    IFeature
    | Improve this Doc View Source

    GetFeatures()

    Declaration
    public IEnumerable<IFeature> GetFeatures()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IFeature>
    | Improve this Doc View Source

    GetFeaturesInView(BoundingBox, Double)

    Declaration
    public override IEnumerable<IFeature> GetFeaturesInView(BoundingBox box, double resolution)
    Parameters
    Type Name Description
    BoundingBox box
    System.Double resolution
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IFeature>
    Overrides
    BaseLayer.GetFeaturesInView(BoundingBox, Double)
    | Improve this Doc View Source

    RefreshData(BoundingBox, Double, Boolean)

    Declaration
    public override void RefreshData(BoundingBox extent, double resolution, bool majorChange)
    Parameters
    Type Name Description
    BoundingBox extent
    System.Double resolution
    System.Boolean majorChange
    Overrides
    BaseLayer.RefreshData(BoundingBox, Double, Boolean)
    | Improve this Doc View Source

    SignalDataChanged()

    Declaration
    [Obsolete("Use DataHasChanged instead", true)]
    public void SignalDataChanged()
    | Improve this Doc View Source

    TryRemove(IFeature, Func<IFeature, IFeature, Boolean>)

    Tries to remove a feature.

    Declaration
    public bool TryRemove(IFeature feature, Func<IFeature, IFeature, bool> compare = null)
    Parameters
    Type Name Description
    IFeature feature

    Feature to remove

    System.Func<IFeature, IFeature, System.Boolean> compare

    Optional method to compare the feature with any of the other features in the list. If omitted a reference compare is done.

    Returns
    Type Description
    System.Boolean

    Implements

    ILayer
    System.ComponentModel.INotifyPropertyChanged
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX