C# Class Mapsui.Providers.ArcGIS.Dynamic.ArcGisLegend

ArcGislegend for getting the layer legends for ArcGIS layers only supports ArcGISserver 10.0 and up
Afficher le fichier Open project: pauldendulk/Mapsui

Méthodes publiques

Méthode Description
ArcGisLegend ( ) : System
GetLegendInfo ( string serviceUrl, ICredentials credentials = null ) : ArcGISLegendResponse
GetLegendInfoAsync ( string serviceUrl, ICredentials credentials = null ) : void

Get the legend for the given mapserver

Private Methods

Méthode Description
CreateRequest ( string serviceUrl, ICredentials credentials ) : HttpWebRequest
FinishWebRequest ( IAsyncResult result ) : void
GetLegendResponseFromWebresponse ( WebResponse webResponse ) : ArcGISLegendResponse
OnLegendFailed ( ) : void
OnLegendReceived ( ArcGISLegendResponse legendInfo ) : void

Method Details

ArcGisLegend() public méthode

public ArcGisLegend ( ) : System
Résultat System

GetLegendInfo() public méthode

public GetLegendInfo ( string serviceUrl, ICredentials credentials = null ) : ArcGISLegendResponse
serviceUrl string
credentials ICredentials
Résultat ArcGISLegendResponse

GetLegendInfoAsync() public méthode

Get the legend for the given mapserver
public GetLegendInfoAsync ( string serviceUrl, ICredentials credentials = null ) : void
serviceUrl string Url to the mapserver
credentials ICredentials Credentials
Résultat void