ArcGIS Developers
Dashboard

ArcGISMapServiceInfo QML Type

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

Import Statement: import Esri.ArcGISRuntime 100.10
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Detailed Description

This metadata is populated once the corresponding layer is loaded.

See also JsonSerializable.

Property Documentation

attribution : string

Returns the attribution of the service (read-only).


capabilities : MapServiceCapabilities

Returns the map service capabilities (read-only).


currentVersion : string

Returns the ArcGIS Server version of the service (read-only).


description : string

Returns the description of the service (read-only).


documentInfo : ServiceDocumentInfo

Returns the document info of the service (read-only).


exportTileCacheCompactV2Allowed : bool

Whether exporting tiles in compact version 2 format (.tpkx) is supported (read-only).

The export tile cache format compact version 2 (.tpkx) now supersedes the compact format (.tpk) across the ArcGIS platform. For more information, see Enums.CacheStorageFormatCompactV2.

If this property is true, the map service supports exporting tiles as .tpkx format. If this property is false, the service does not support exporting .tpkx and you should check exportTilesAllowed to confirm whether it supports exporting the earlier .tpk format version.

ArcGIS Server/Enterprise currentVersion, 10.9 or greater, supports exporting tiles as .tpkx. Compact V2 tile caches can also be exported from export-enabled Esri image basemaps hosted on ArcGIS Online. For more details on the specification of a .tpkx file, see https://github.com/Esri/tile-package-spec.

This property was introduced in Esri.ArcGISRuntime 100.10.

See also Enums.CacheStorageFormat.


exportTilesAllowed : bool

Returns whether exporting tiles in compact format (.tpk) is supported (read-only).

This property indicates whether the map service supports exporting tiles as .tpk. Exporting tiles allows you to use them as a basemap or operational layer without network connectivity. See TileCache for information on creating a layer from a local tile cache.

To export tiles, you can use either the ExportTileCacheTask or the OfflineMapTask.

There are two formats for exporting a tile cache:

  • Compact (.tpk) is the legacy format for a tile cache. All services that support exporting tiles, support the .tpk format. See Enums.CacheStorageFormatCompact.
  • Compact V2 (.tpkx) is the latest format used for exporting tiles, and is widely used across the ArcGIS platform. Check exportTileCacheCompactV2Allowed to confirm whether the service supports this format.

fullExtent : Envelope

Returns the full extent of the service as an Envelope (read-only).


initialExtent : Envelope

Returns the initial extent of the service as an Envelope (read-only).


json : jsobject

JSON that can be used to instantiate the ArcGISMapServiceInfo.


layerInfos : list<IdInfo>

Returns information about layers in the service (read-only).


mapName : string

Returns the map name of the service (read-only).


maxExportTilesCount : int

Returns the maximum number of tiles that can be exported to a tile cache or package (read-only).


maxImageHeight : int

Returns the max image height of the service (read-only).


maxImageWidth : int

Returns the max image width of the service (read-only).


maxRecordCount : int

Returns the maximum number of records that can be returned from the service (read-only).


maxScale : double

Returns the maximum scale of the service (read-only).


minScale : double

Returns the minimum scale of the service (read-only).


serviceDescription : string

Returns the service description of the service (read-only).


serviceSourceType : Enums.ServiceType

Returns the type of service this metadata came from (read-only).

See also Enums.ServiceType.


singleFusedMapCache : bool

Returns whether the service uses pre-generated cached tiles (read-only).


spatialReference : SpatialReference

Returns the spatial reference of the map service (read-only).


supportedImageFormatTypes : list<string>

Returns a list of the supported image formats of the service (read-only).


supportsDynamicLayers : bool

Returns whether the service supports dynamic layers (read-only).


tableInfos : list<IdInfo>

Returns information about tables in the service (read-only).


tileInfo : TileInfo

Returns the tile info from the service (read-only).


tileServers : list<string>

Returns a list of tile servers from the service (read-only).


timeInfo : ServiceTimeInfo

Returns the time info from the service (read-only).


unit : Unit

Returns the linear unit of the service (read-only).


unknownJson : jsobject

Returns the unknown JSON from the source JSON (read-only).

See also JsonSerializable.


unsupportedJson : jsobject

Returns the unsupported data from the source JSON (read-only).

See also JsonSerializable.


url : url

Returns the map service url (read-only).



Feedback on this topic?