Show / Hide Table of Contents

    Class ArcGisLegend

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

    Inheritance
    System.Object
    ArcGisLegend
    Inherited Members
    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)
    System.Object.ToString()
    Namespace: Mapsui.Providers.ArcGIS.Dynamic
    Assembly: Mapsui.dll
    Syntax
    public class ArcGisLegend

    Constructors

    | Improve this Doc View Source

    ArcGisLegend()

    Declaration
    public ArcGisLegend()

    Properties

    | Improve this Doc View Source

    TimeOut

    Timeout of webrequest in milliseconds. Default is 5 seconds

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

    Methods

    | Improve this Doc View Source

    GetLegendInfo(String, ICredentials)

    Declaration
    public ArcGISLegendResponse GetLegendInfo(string serviceUrl, ICredentials credentials = null)
    Parameters
    Type Name Description
    System.String serviceUrl
    System.Net.ICredentials credentials
    Returns
    Type Description
    ArcGISLegendResponse
    | Improve this Doc View Source

    GetLegendInfoAsync(String, ICredentials)

    Get the legend for the given mapserver

    Declaration
    public void GetLegendInfoAsync(string serviceUrl, ICredentials credentials = null)
    Parameters
    Type Name Description
    System.String serviceUrl

    Url to the mapserver

    System.Net.ICredentials credentials

    Credentials

    Events

    | Improve this Doc View Source

    LegendFailed

    Declaration
    public event ArcGISLegendEventHandler LegendFailed
    Event Type
    Type Description
    ArcGISLegendEventHandler
    | Improve this Doc View Source

    LegendReceived

    Declaration
    public event ArcGISLegendEventHandler LegendReceived
    Event Type
    Type Description
    ArcGISLegendEventHandler
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX