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 SourceArcGisLegend()
Declaration
public ArcGisLegend()
Properties
| Improve this Doc View SourceTimeOut
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 SourceGetLegendInfo(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 |
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 SourceLegendFailed
Declaration
public event ArcGISLegendEventHandler LegendFailed
Event Type
Type | Description |
---|---|
ArcGISLegendEventHandler |
LegendReceived
Declaration
public event ArcGISLegendEventHandler LegendReceived
Event Type
Type | Description |
---|---|
ArcGISLegendEventHandler |