Search Results for

    Show / Hide Table of Contents

    Class ArcGisLegend

    ArcGislegend for getting the layer legends for ArcGIS layers only supports ArcGISserver 10.0 and up

    Inheritance
    object
    ArcGisLegend
    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 ArcGisLegend

    Constructors

    | Edit this page View Source

    ArcGisLegend(IUrlPersistentCache?)

    Declaration
    public ArcGisLegend(IUrlPersistentCache? urlPersistentCache = null)
    Parameters
    Type Name Description
    IUrlPersistentCache urlPersistentCache

    Properties

    | Edit this page View Source

    TimeOut

    Timeout of webrequest in milliseconds. Default is 5 seconds

    Declaration
    public int TimeOut { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    GetLegendInfoAsync(string, ICredentials?)

    Declaration
    public Task<ArcGISLegendResponse?> GetLegendInfoAsync(string serviceUrl, ICredentials? credentials = null)
    Parameters
    Type Name Description
    string serviceUrl
    ICredentials credentials
    Returns
    Type Description
    Task<ArcGISLegendResponse>
    | Edit this page View Source

    GetLegendInfoRequest(string, ICredentials?)

    Get the legend for the given mapserver

    Declaration
    public void GetLegendInfoRequest(string serviceUrl, ICredentials? credentials = null)
    Parameters
    Type Name Description
    string serviceUrl

    Url to the mapserver

    ICredentials credentials

    Credentials

    Events

    | Edit this page View Source

    LegendFailed

    Declaration
    public event ArcGISLegendEventHandler? LegendFailed
    Event Type
    Type Description
    ArcGISLegendEventHandler
    | Edit this page View Source

    LegendReceived

    Declaration
    public event ArcGISLegendEventHandler? LegendReceived
    Event Type
    Type Description
    ArcGISLegendEventHandler

    Extension Methods

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