Search Results for

    Show / Hide Table of Contents

    Class MemoryProvider

    Inheritance
    object
    MemoryProvider
    Implements
    IProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Providers
    Assembly: Mapsui.dll
    Syntax
    public class MemoryProvider : IProvider

    Constructors

    | Edit this page View Source

    MemoryProvider()

    Gets or sets the geometries this data source contains

    Declaration
    public MemoryProvider()
    | Edit this page View Source

    MemoryProvider(IFeature)

    Initializes a new instance of the MemoryProvider

    Declaration
    public MemoryProvider(IFeature feature)
    Parameters
    Type Name Description
    IFeature feature

    Feature to be in this dataSource

    | Edit this page View Source

    MemoryProvider(IEnumerable<IFeature>)

    Initializes a new instance of the MemoryProvider

    Declaration
    public MemoryProvider(IEnumerable<IFeature> features)
    Parameters
    Type Name Description
    IEnumerable<IFeature> features

    Features to be included in this dataSource

    Properties

    | Edit this page View Source

    CRS

    The spatial reference ID (CRS)

    Declaration
    public string? CRS { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Features

    Declaration
    public IReadOnlyList<IFeature> Features { get; }
    Property Value
    Type Description
    IReadOnlyList<IFeature>
    | Edit this page View Source

    SymbolSize

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

    Methods

    | Edit this page View Source

    Clear()

    Declaration
    public void Clear()
    | Edit this page View Source

    Find(object?, string)

    Search for a feature

    Declaration
    public IFeature? Find(object? value, string fieldName)
    Parameters
    Type Name Description
    object value

    Value to search for

    string fieldName

    Name of the field to search in. This is the key of the T dictionary

    Returns
    Type Description
    IFeature
    | Edit this page View Source

    GetExtent()

    BoundingBox of data set

    Declaration
    public MRect? GetExtent()
    Returns
    Type Description
    MRect

    BoundingBox

    | Edit this page View Source

    GetFeaturesAsync(FetchInfo)

    Declaration
    public virtual Task<IEnumerable<IFeature>> GetFeaturesAsync(FetchInfo fetchInfo)
    Parameters
    Type Name Description
    FetchInfo fetchInfo
    Returns
    Type Description
    Task<IEnumerable<IFeature>>

    Implements

    IProvider
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX