Skip To Content ArcGIS for Developers Sign In Dashboard

ArcGISMapServiceInfo Class


Read-only metadata from the map service. More...

Header: #include <ArcGISMapServiceInfo>
Since: Esri::ArcGISRuntime 100.0
Inherits: JsonSerializable

Public Functions

ArcGISMapServiceInfo(const ArcGISMapServiceInfo &other)
ArcGISMapServiceInfo(ArcGISMapServiceInfo &&other)
QString attribution() const
MapServiceCapabilities capabilities() const
QString currentVersion() const
QString description() const
ServiceDocumentInfo documentInfo() const
Envelope fullExtent() const
Envelope initialExtent() const
bool isEmpty() const
bool isExportTilesAllowed() const
bool isSingleFusedMapCache() const
bool isSupportsDynamicLayers() const
QList<IdInfo> layerInfos() const
QString mapName() const
int maxExportTilesCount() const
int maxImageHeight() const
int maxImageWidth() const
int maxRecordCount() const
double maxScale() const
double minScale() const
QString serviceDescription() const
ServiceType serviceSourceType() const
SpatialReference spatialReference() const
QStringList supportedImageFormatTypes() const
QList<IdInfo> tableInfos() const
TileInfo tileInfo() const
QStringList tileServers() const
ServiceTimeInfo timeInfo() const
Unit unit() const
QUrl url() const
ArcGISMapServiceInfo &operator=(const ArcGISMapServiceInfo &other)
ArcGISMapServiceInfo &operator=(ArcGISMapServiceInfo &&other)

Reimplemented Public Functions

virtual QString toJson() const
virtual QJsonObject unknownJson() const
virtual QJsonObject unsupportedJson() const

Static Public Members

ArcGISMapServiceInfo fromJson(const QString &json)

Detailed Description

Read-only metadata from the map service.

This metadata is populated once the corresponding layer is loaded.

ArcGISMapServiceInfo may also be created from JSON.

See also JsonSerializable.

Member Function Documentation


Default constructor.

ArcGISMapServiceInfo::ArcGISMapServiceInfo(const ArcGISMapServiceInfo &other)

Copy constructor from other ArcGISMapServiceInfo.

ArcGISMapServiceInfo::ArcGISMapServiceInfo(ArcGISMapServiceInfo &&other)

Move constructor from other ArcGISMapServiceInfo.



QString ArcGISMapServiceInfo::attribution() const

Returns the attribution of the service.

MapServiceCapabilities ArcGISMapServiceInfo::capabilities() const

Returns the map service capabilities.

QString ArcGISMapServiceInfo::currentVersion() const

Returns the ArcGIS Server version of the service.

QString ArcGISMapServiceInfo::description() const

Returns the description of the service.

ServiceDocumentInfo ArcGISMapServiceInfo::documentInfo() const

Returns the document info of the service.

[static] ArcGISMapServiceInfo ArcGISMapServiceInfo::fromJson(const QString &json)

Creates a new ArcGISMapServiceInfo from json.

See also JsonSerializable.

Envelope ArcGISMapServiceInfo::fullExtent() const

Returns the full extent of the service as an Envelope.

Envelope ArcGISMapServiceInfo::initialExtent() const

Returns the initial extent of the service as an Envelope.

bool ArcGISMapServiceInfo::isEmpty() const

Gets whether this ArcGISMapServiceInfo is empty.

A default constructed ArcGISMapServiceInfo is empty.

Returns true if empty.

bool ArcGISMapServiceInfo::isExportTilesAllowed() const

Returns whether clients can export cached tiles from the map service.

bool ArcGISMapServiceInfo::isSingleFusedMapCache() const

Returns whether the service uses pre-generated cached tiles.

bool ArcGISMapServiceInfo::isSupportsDynamicLayers() const

Returns whether the service supports dynamic layers.

QList<IdInfo> ArcGISMapServiceInfo::layerInfos() const

Gets information about layers in the service.

QString ArcGISMapServiceInfo::mapName() const

Returns the map name of the service.

int ArcGISMapServiceInfo::maxExportTilesCount() const

Returns the maximum number of tiles that can be exported to a tile cache or package.

int ArcGISMapServiceInfo::maxImageHeight() const

Returns the max image height of the service.

int ArcGISMapServiceInfo::maxImageWidth() const

Returns the max image width of the service.

int ArcGISMapServiceInfo::maxRecordCount() const

Returns the maximum number of records that can be returned from the service.

double ArcGISMapServiceInfo::maxScale() const

Returns the maximum scale of the service.

double ArcGISMapServiceInfo::minScale() const

Returns the minimum scale of the service.

QString ArcGISMapServiceInfo::serviceDescription() const

Returns the service description of the service.

ServiceType ArcGISMapServiceInfo::serviceSourceType() const

Returns a value indicating the type of service this metadata came from.

SpatialReference ArcGISMapServiceInfo::spatialReference() const

Returns the spatial reference of the map service.

QStringList ArcGISMapServiceInfo::supportedImageFormatTypes() const

Returns a list of the supported image formats of the service.

QList<IdInfo> ArcGISMapServiceInfo::tableInfos() const

Gets information about tables in the service.

TileInfo ArcGISMapServiceInfo::tileInfo() const

Returns the tile info from the service.

QStringList ArcGISMapServiceInfo::tileServers() const

Returns a list of tile servers from the service.

ServiceTimeInfo ArcGISMapServiceInfo::timeInfo() const

Returns the time info from the service.

[virtual] QString ArcGISMapServiceInfo::toJson() const

Reimplemented from JsonSerializable::toJson().

Gets the JSON representation of this object.

See also JsonSerializable.

Unit ArcGISMapServiceInfo::unit() const

Returns the linear unit of the service.

[virtual] QJsonObject ArcGISMapServiceInfo::unknownJson() const

Reimplemented from JsonSerializable::unknownJson().

Gets the unknown JSON of this object.

See also JsonSerializable.

[virtual] QJsonObject ArcGISMapServiceInfo::unsupportedJson() const

Reimplemented from JsonSerializable::unsupportedJson().

Gets the unsupported JSON of this object.

See also JsonSerializable.

QUrl ArcGISMapServiceInfo::url() const

Returns the URL to the map service.

ArcGISMapServiceInfo &ArcGISMapServiceInfo::operator=(const ArcGISMapServiceInfo &other)

Assignment operator from other ArcGISMapServiceInfo.

ArcGISMapServiceInfo &ArcGISMapServiceInfo::operator=(ArcGISMapServiceInfo &&other)

Move operator from other ArcGISMapServiceInfo.

Feedback on this topic?