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.

    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.