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 Style 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
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 |
.NET | 200.5 |
.NET Windows | 200.5 |
.NET Android | 200.5 |
.NET iOS | 200.5 |
.NET Framework | 200.5 |
UWP | 200.5 |