BasemapStyleLanguageInfo Class

  • BasemapStyleLanguageInfo
  • class Esri::ArcGISRuntime::BasemapStyleLanguageInfo

    Information about a language that can be used to customize labels on a basemap. More...

    Header: #include <BasemapStyleLanguageInfo.h>
    Since: Esri::ArcGISRuntime 200.5
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~BasemapStyleLanguageInfo() override
    QString displayName() const
    QString languageCode() const

    Detailed Description

    To request that labels on a Basemap are displayed in a given language, set the value of the languageCode property to BasemapStyleParameters::specificLanguage.

    Relevant samples:

    • Create dynamic basemap gallery: Implement a basemap gallery that automatically retrieves the latest customization options from the basemap styles service.

    Member Function Documentation

    [override virtual] BasemapStyleLanguageInfo::~BasemapStyleLanguageInfo()

    Destructor.

    QString BasemapStyleLanguageInfo::displayName() const

    Returns human-readable name of the language (e.g. "Portuguese (Brazil)").

    To see the latest list of languages supported by the Basemap Styles Service, and the display name associated with each language, see the Languages section of the Basemap Styles Service documentation.

    QString BasemapStyleLanguageInfo::languageCode() const

    Returns CLDR code for this language.

    The format is a string that uses a two letter language code (e.g. "en" for English) optionally followed by a two letter country code (e.g. "en-US" for US English). To see the latest list of languages supported by the Basemap Styles Service, and the code associated with each language, see the Languages section of the Basemap Styles Service documentation.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close