Class ArcGISMapServiceInfo
The metadata for an ArcGIS map service.
Inheritance
Namespace: Esri.ArcGISRuntime.ArcGISServices
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcGISMapServiceInfo
Remarks
An ArcGIS map service is a data service that provides access to map images that can be rendered dynamically or pre-rendered and cached in a tile grid as static images. You can display dynamically rendered images using ArcGISMapImageLayer and pre-rendered static images using ArcGISTiledLayer.
ArcGISMapServiceInfo provides basic information about the map, including the layers that it contains, whether or not the map is cached, its spatial reference, initial and full extents, map units, and copyright text. It also provides some metadata associated with the service, such as the service description, its author, and keywords. If the map service has a tile cache, additional information about the tiling scheme is included, such as the levels of detail, tiling scheme origin, and tile dimensions.
You can obtain the ArcGISMapServiceInfo from a loaded ArcGISMapImageLayer, ArcGISTiledLayer, or ExportTileCacheTask.
Properties
Name | Description |
---|---|
Attribution | Gets the map service's copyright information. |
Capabilities | Gets the capabilities supported by this map service, such as export, data, and query operations. |
CurrentVersion | Gets the map service version. |
Description | Gets the map description. |
DocumentInfo | Gets the document information, such as the title, author, and comments. |
ExportTileCacheCompactV2Allowed | Gets a value indicating whether exporting tiles in compact version 2 format (.tpkx) is supported. |
ExportTilesAllowed | Gets a value indicating whether exporting tiles in compact format (.tpk) is supported. |
FullExtent | Gets the full extent of the map service. |
InitialExtent | Gets the initial extent of the map service. |
LayerInfos | Gets the service's layers; |
MapName | Gets the map name. |
MaxExportTilesCount | Gets the maximum number of tiles supported for exporting tiles. |
MaxImageHeight | Gets the max height supported for an image export. |
MaxImageWidth | Gets the max width supported for an image export. |
MaxRecordCount | Gets the maximum number of records that will be returned at once for a query |
MaxScale | Gets the maximum scale for the map service. |
MinScale | Gets the minimum scale for the map service. |
ServiceDescription | Gets the map service description. |
ServiceSourceType | Gets the service type of the service info. |
SingleFusedMapCache | Gets a value indicating whether map service has a single fused map cache. |
Source | Gets the ArcGIS REST service endpoint. |
SpatialReference | Gets the SpatialReference of the map service. |
SupportedImageFormatTypes | Gets the list of supported image format types. |
SupportsDynamicLayers | Gets a value indicating whether the service supports dynamically defined layers. |
TableInfos | Gets the collection of table infos that represent tables of the service. |
TileInfo | Gets the information about the map tile cache if the map service is cached. |
TileServers | Gets the tile servers that allow distributing load to multiple endpoints (optional) |
TimeInfo | Gets the time information for a time-enabled map service. |
Unit | Gets the unit map service uses for it's default spatial reference. |
Methods
Name | Description |
---|---|
FromJson(String) | Creates a service info item from a JSON representation. |
ToJson() | Serializes this object to a JSON string. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |