Show / Hide Table of Contents

Property StylesInfo

StylesInfo

Gets a list of BasemapStyleInfo objects.

Declaration
public IReadOnlyList<BasemapStyleInfo> StylesInfo { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<BasemapStyleInfo>

A read-only list of BasemapStyleInfo objects.

Remarks

Each BasemapStyleInfo object contains information about a style in the Basemap Styles Service, including:

  • Name of style.
  • URL to access the thumbnail for a style.
  • Customizations options available for a style (e.g. label languages).

The information in each BasemapStyleInfo object is retrieved from the service each time the Esri.ArcGISRuntime.Mapping.BasemapStylesService is loaded, allowing any new customization options added to the Basemap Style Service to be automatically integrated into an application.

The ability to access the latest customization options available in the Basemap Style Service allows applications to be created that dynamically update to include the latest features. For example, if the language of labels on a basemap is a customization option available in an applications preferences, specifying the available languages using the results of a query to the Basemap Style Service ensures an application user has access to all of the available languages. If the service adds a new language, the list of languages in the preferences will automatically be updated.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.5 - 200.7
.NET200.5 - 200.7
.NET Windows200.5 - 200.7
.NET Android200.5 - 200.7
.NET iOS200.5 - 200.7
.NET Framework200.5 - 200.7
UWP200.5 - 200.7
In This Article
Back to top Copyright © 2022 Esri.