Search Results for

    Show / Hide Table of Contents

    Class ArcGISDynamicProvider

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

    Constructors

    | Edit this page View Source

    ArcGISDynamicProvider(string, ArcGISDynamicCapabilities, string?, IUrlPersistentCache?)

    Create ArcGisDynamicProvider based on a given capabilities file

    Declaration
    public ArcGISDynamicProvider(string url, ArcGISDynamicCapabilities arcGisDynamicCapabilities, string? token = null, IUrlPersistentCache? persistentCache = null)
    Parameters
    Type Name Description
    string url

    url to map service example: http://url/arcgis/rest/services/test/MapServer

    ArcGISDynamicCapabilities arcGisDynamicCapabilities
    string token

    token to request service

    IUrlPersistentCache persistentCache
    | Edit this page View Source

    ArcGISDynamicProvider(string, string?, IUrlPersistentCache?)

    Create ArcGisDynamicProvider, capabilities will be parsed automatically

    Declaration
    public ArcGISDynamicProvider(string url, string? token = null, IUrlPersistentCache? persistentCache = null)
    Parameters
    Type Name Description
    string url

    url to map service example: http://url/arcgis/rest/services/test/MapServer

    string token

    token to request service

    IUrlPersistentCache persistentCache

    persistent cache

    Properties

    | Edit this page View Source

    ArcGisDynamicCapabilities

    Declaration
    public ArcGISDynamicCapabilities ArcGisDynamicCapabilities { get; }
    Property Value
    Type Description
    ArcGISDynamicCapabilities
    | 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

    Credentials

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

    TimeOut

    Timeout of web request in milliseconds. Default is 10 seconds

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

    Token

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

    Url

    Declaration
    public string Url { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetExtent()

    MRect of data set

    Declaration
    public MRect? GetExtent()
    Returns
    Type Description
    MRect

    BoundingBox

    | Edit this page View Source

    GetFeaturesAsync(FetchInfo)

    Declaration
    public Task<IEnumerable<IFeature>> GetFeaturesAsync(FetchInfo fetchInfo)
    Parameters
    Type Name Description
    FetchInfo fetchInfo
    Returns
    Type Description
    Task<IEnumerable<IFeature>>
    | Edit this page View Source

    GetRequestUrl(MRect?, int, int)

    Gets the URL for a map export request base on current settings, the image size and boundingBox

    Declaration
    public string GetRequestUrl(MRect? box, int width, int height)
    Parameters
    Type Name Description
    MRect box

    Area the request should cover

    int width
    int height
    Returns
    Type Description
    string

    URL for ArcGIS Dynamic request

    | Edit this page View Source

    IsCrsSupported(string)

    Queries whether a provider supports projection to a certain CRS.

    Declaration
    public bool? IsCrsSupported(string crs)
    Parameters
    Type Name Description
    string crs

    The crs to project to

    Returns
    Type Description
    bool?

    True if is does, false if it does not, null if it is unknown

    | Edit this page View Source

    TryGetMapAsync(MSection)

    Retrieves the bitmap from ArcGIS Dynamic service

    Declaration
    public Task<(bool Success, MRaster? Raster)> TryGetMapAsync(MSection section)
    Parameters
    Type Name Description
    MSection section
    Returns
    Type Description
    Task<(bool Success, MRaster)>

    Implements

    IProjectingProvider
    IProvider

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX