Class ArcGisLegend
ArcGislegend for getting the layer legends for ArcGIS layers only supports
ArcGISserver 10.0 and up
Assembly: Mapsui.ArcGIS.dll
Syntax
public class ArcGisLegend
Constructors
|
Edit this page
View Source
ArcGisLegend(IUrlPersistentCache?)
Declaration
public ArcGisLegend(IUrlPersistentCache? urlPersistentCache = null)
Parameters
Properties
|
Edit this page
View Source
TimeOut
Timeout of webrequest in milliseconds. Default is 5 seconds
Declaration
public int TimeOut { get; set; }
Property Value
Methods
|
Edit this page
View Source
GetLegendInfoAsync(string, ICredentials?)
Declaration
public Task<ArcGISLegendResponse?> GetLegendInfoAsync(string serviceUrl, ICredentials? credentials = null)
Parameters
Returns
|
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
|
Edit this page
View Source
LegendReceived
Declaration
public event ArcGISLegendEventHandler? LegendReceived
Event Type
Extension Methods