Worldview Class

  • Worldview
  • class Esri::ArcGISRuntime::Worldview

    Defines a valid representation of a disputed boundary (a.k.a worldview) on a BasemapStyleParameters object. More...

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

    Public Functions

    Worldview(const QString &code, QObject *parent = nullptr)
    virtual ~Worldview() override
    QString code() const
    QString displayName() const

    Static Public Members

    Esri::ArcGISRuntime::Worldview *china(QObject *parent)
    Esri::ArcGISRuntime::Worldview *india(QObject *parent)
    Esri::ArcGISRuntime::Worldview *israel(QObject *parent)
    Esri::ArcGISRuntime::Worldview *japan(QObject *parent)
    Esri::ArcGISRuntime::Worldview *morocco(QObject *parent)
    Esri::ArcGISRuntime::Worldview *pakistan(QObject *parent)
    Esri::ArcGISRuntime::Worldview *southKorea(QObject *parent)
    Esri::ArcGISRuntime::Worldview *unitedArabEmirates(QObject *parent)
    Esri::ArcGISRuntime::Worldview *vietnam(QObject *parent)

    Detailed Description

    For more information see the boundary disputes section of the basemap styles service API reference.

    Relevant samples:

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

    See also BasemapStyleParameters and BasemapStylesServiceInfo.

    Member Function Documentation

    [explicit] Worldview::Worldview(const QString &code, QObject *parent = nullptr)

    Creates a Worldview object that represents a country's view of a disputed boundary.

    • code - The code used to specify this representation of a disputed boundary in the Basemap Styles Service.
    • parent - The optional parent QObject.

    For the current list of worldviews supported by the service, see the Basemap Styles Service API reference.

    [override virtual] Worldview::~Worldview()

    Destructor.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::china(QObject *parent)

    Returns a Worldview object used to specify the Chinese view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    chinaChina

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the Chinese worldview on a basemap.

    QString Worldview::code() const

    Returns the value of the worldview parameter used by the Basemap Styles Service.

    For example, "southKorea".

    QString Worldview::displayName() const

    Returns the human-readable name of the representation of the disputed boundary.

    For example, "South Korea".

    This property is only set if the Worldview was retrieved from a BasemapStyleInfo after loading a BasemapStylesService object. If the Worldview was constructed using the Worldview(const QString&, QObject*) constructor, this property will be empty.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::india(QObject *parent)

    Returns a Worldview object used to specify the Indian view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    indiaIndia

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the Indian worldview on a basemap.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::israel(QObject *parent)

    Returns a Worldview object used to specify the Israeli view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    israelIsrael

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the Israeli worldview on a basemap.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::japan(QObject *parent)

    Returns a Worldview object used to specify the Japanese view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    japanJapan

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the Japanese worldview on a basemap.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::morocco(QObject *parent)

    Returns a Worldview object used to specify the Moroccan view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    moroccoMorocco

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the Moroccan worldview on a basemap.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::pakistan(QObject *parent)

    Returns a Worldview object used to specify the Pakistani view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    pakistanPakistan

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the Pakistani worldview on a basemap.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::southKorea(QObject *parent)

    Returns a Worldview object used to specify the South Korean view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    southKoreaSouth Korea

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the South Korean worldview on a basemap.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::unitedArabEmirates(QObject *parent)

    Returns a Worldview object used to specify the Emirati view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    unitedArabEmiratesUnited Arab Emirates

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the Emirati worldview on a basemap.

    [static] Esri::ArcGISRuntime::Worldview *Worldview::vietnam(QObject *parent)

    Returns a Worldview object used to specify the Vietnamese view of disputed boundaries.

    • parent - The optional parent QObject.

    This Worldview has the following properties:

    codedisplayName
    vietnamVietnam

    Assign this Worldview to the BasemapStyleParameters::worldview property to display the Vietnamese worldview on a basemap.

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