Class BasemapStyleInfo
Information about a given BasemapStyle available from the Basemap Styles Service, including human-readable name, thumbnail url and customization options.
Inheritance
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class BasemapStyleInfo
Remarks
The Basemap Styles Service can be queried to access information about a given BasemapStyle. The service provides information about each style, including the human-readable name of the style, the url for the style's preview image (a.k.a thumbnail), and different customization options available with each BasemapStyle This read-only class collates the information available for each BasemapStyle into a common data structure and makes the information easily accessible to API users.
Customization options include:
- Specific languages (e.g. "Chinese (Simplified)").
- Language Strategies (e.g. "local").
If a customization is not available for a given BasemapStyle, the list for that parameter will be empty.
The BasemapStyleInfo class is intended to help a developer determine valid values for properties on the BasemapStyleParameters, which will be dependent on the style being used. A developer could use this information to present options to an application user, for example via UI elements, or to prevent errors occurring when loading a customized basemap.
Properties
Name | Description |
---|---|
Languages | Gets a list of languages that can be used to customize labels on this style. |
LanguageStrategies | Gets a list of language strategies that can be used with this style. |
Style | Gets the BasemapStyle value representing this style. |
StyleName | Gets the human-readable name of this BasemapStyle. |
Thumbnail | Gets the thumbnail for the style. |
Worldviews | Gets a list of Worldview objects. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |