Mapsui.Providers.ArcGIS.Dynamic.ArcGisLegend.GetLegendInfoAsync C# (CSharp) Метод

GetLegendInfoAsync() публичный Метод

Get the legend for the given mapserver
public GetLegendInfoAsync ( string serviceUrl, ICredentials credentials = null ) : void
serviceUrl string Url to the mapserver
credentials ICredentials Credentials
Результат void
        public void GetLegendInfoAsync(string serviceUrl, ICredentials credentials = null)
        {
            _webRequest = CreateRequest(serviceUrl, credentials);
            _webRequest.BeginGetResponse(FinishWebRequest, null);
        }