The capabilities of an ArcGIS map service, including whether it supports exporting map images, data and query operations. More...
Header: | #include <MapServiceCapabilities.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Public Functions
MapServiceCapabilities() | |
MapServiceCapabilities(const Esri::ArcGISRuntime::MapServiceCapabilities &other) | |
MapServiceCapabilities(Esri::ArcGISRuntime::MapServiceCapabilities &&other) | |
~MapServiceCapabilities() | |
bool | isSupportsData() const |
bool | isSupportsMap() const |
bool | isSupportsQuery() const |
bool | isSupportsTilemap() const |
bool | isSupportsTilesOnly() const |
Esri::ArcGISRuntime::MapServiceCapabilities & | operator=(const Esri::ArcGISRuntime::MapServiceCapabilities &other) |
Esri::ArcGISRuntime::MapServiceCapabilities & | operator=(Esri::ArcGISRuntime::MapServiceCapabilities &&other) |
Detailed Description
You can access the content of a map from an ArcGIS map service using one of its three main capabilities:
- Data - find, query, and related records.
- Map - export map images and list all layers and tables.
- Query - identify and access attachment data.
These capabilities are reflected in isSupportsData, isSupportsMap, and isSupportsQuery. For more information, see the Map Service help documentation.
You can obtain an ArcGIS map service's MapServiceCapabilities using ArcGISMapServiceInfo. This is available from a number of loaded resources, such as ArcGISMapImageLayer, ArcGISTiledLayer, or ExportTileCacheTask.
Member Function Documentation
MapServiceCapabilities::MapServiceCapabilities ()
Default constructor.
MapServiceCapabilities::MapServiceCapabilities (const Esri::ArcGISRuntime::MapServiceCapabilities &other)
Copy constructor from other MapServiceCapabilities.
MapServiceCapabilities::MapServiceCapabilities (Esri::ArcGISRuntime::MapServiceCapabilities &&other)
Move constructor from other MapServiceCapabilities.
MapServiceCapabilities::~MapServiceCapabilities ()
Destructor.
bool MapServiceCapabilities::isSupportsData () const
Returns true
if the map service supports data operations, such as find, query, and related records, false
otherwise.
All ArcGIS REST API operations define their required capability in the Map Service help documentation.
bool MapServiceCapabilities::isSupportsMap () const
Returns true
if the map service supports map operations, such as exporting map images and listing all layers and tables, false
otherwise.
All ArcGIS REST API operations define their required capability in the Map Service help documentation.
bool MapServiceCapabilities::isSupportsQuery () const
Returns true
if the map service supports query operations, such as identify and access attachment data, false
otherwise.
All ArcGIS REST API operations define their required capability in the Map Service help documentation.
[since Esri::ArcGISRuntime 100.2]
bool MapServiceCapabilities::isSupportsTilemap () const
Returns true
if the map service supports tiles, false
otherwise.
This function was introduced in Esri::ArcGISRuntime 100.2.
[since Esri::ArcGISRuntime 100.2]
bool MapServiceCapabilities::isSupportsTilesOnly () const
Returns true
if the map service only supports tile requests, false
otherwise.
You cannot create an ArcGISMapImageLayer from a service that only supports tile requests.
This function was introduced in Esri::ArcGISRuntime 100.2.
Esri::ArcGISRuntime::MapServiceCapabilities &MapServiceCapabilities::operator=(const Esri::ArcGISRuntime::MapServiceCapabilities &other)
Assignment operator from other MapServiceCapabilities.
Esri::ArcGISRuntime::MapServiceCapabilities &MapServiceCapabilities::operator=(Esri::ArcGISRuntime::MapServiceCapabilities &&other)
Move operator from other MapServiceCapabilities.