A representation of a country's view of disputed boundaries. More...
| Header | #include <Worldview.h |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Worldview(const QString &code, QObject *parent = nullptr) | |
| virtual | ~ |
| QString | code() const |
| QString | display |
Static Public Members
| Esri | china(QObject *parent) |
| Esri | india(QObject *parent) |
| Esri | israel(QObject *parent) |
| Esri | japan(QObject *parent) |
| Esri | morocco(QObject *parent) |
| Esri | pakistan(QObject *parent) |
| Esri | south |
| Esri | united |
(since Esri Esri | united |
| Esri | vietnam(QObject *parent) |
Detailed Description
For more information see the boundary disputes section in the ArcGIS Basemap Styles service REST 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 noexcept] 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:
| code | displayName |
|---|---|
| china | China |
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:
| code | displayName |
|---|---|
| india | India |
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:
| code | displayName |
|---|---|
| israel | Israel |
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:
| code | displayName |
|---|---|
| japan | Japan |
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:
| code | displayName |
|---|---|
| morocco | Morocco |
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:
| code | displayName |
|---|---|
| pakistan | Pakistan |
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:
| code | displayName |
|---|---|
| south | South 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:
| code | displayName |
|---|---|
| united | United Arab Emirates |
Assign this Worldview to the BasemapStyleParameters::worldview property to display the Emirati worldview on a basemap.
[static, since Esri::ArcGISRuntime 200.7] Esri::ArcGISRuntime::Worldview *Worldview::unitedStatesOfAmerica (QObject *parent)
Returns a Worldview object used to specify the US Edition of a basemap style.
- parent - The optional parent QObject.
This Worldview has the following properties:
| code | displayName |
|---|---|
| united | United States of America |
Assign this Worldview to the BasemapStyleParameters::worldview property to display the US Edition worldview on a basemap.
This function was introduced in Esri::ArcGISRuntime 200.7.
[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:
| code | displayName |
|---|---|
| vietnam | Vietnam |
Assign this Worldview to the BasemapStyleParameters::worldview property to display the Vietnamese worldview on a basemap.