Manage a hosted map tile layer item and service

A hosted map tile layer (item) can be used to manage the item properties and the settings for the corresponding map tile service. A hosted map tile layer (item) contains content properties such as name and description that describe the item resource in a portal, and data service properties such as source and URL for the map tile service and the source feature service it was derived from.

You can use the item properties to:

  • Update the metadata for the hosted layer such as the name, description, and terms of use.
  • Make an item more discoverable in a portal.
  • Include important terms of use or credits information.
  • Find data service information such as the URL endpoint.
  • Change the sharing and security settings.
Item page properties
Hosted map tile layer item page in ArcGIS.com showing read-only and read-write properties.

How to manage a hosted map tile layer (item)

When you create a new data service, the hosted layer and data service sharing level (privacy setting) is set to Owner. The item and data service are only available to you. This setting requires that applications provide a valid access token to authenticate requests to view the item or to access the data service.

The steps to change the sharing properties are:

  1. Log in to a data management tool with your ArcGIS account:

  2. Find the item.
  3. Use the item page to change the item properties.
Data hosting
Process to access and manage a hosted map tile layer (item) in a portal.

Access an item page

You can manage the properties of a hosted layer by accessing the item page in a portal. If you are the owner of the item, you can use the item page to update the properties.

Use dark colors for code blocksCopy
1
https://{portal}/home/item.html?{id}

Example: https://www.arcgis.com/home/item.html?id=883cedb8c9fe4524b64d47666ed234a7

Content properties

The content properties of a hosted layer (item) describe the resource in a portal. These properties uniquely define a data service and allow it to be discoverable in a portal. As an owner, you can set properties such as the name, description, tags, thumbnail, and terms of use to provide details about the underlying data service. Other properties such as id, type, created date, and updated date are read-only and are maintained by the system.

Examples of general properties include the following:

  • *ID: The unique identifier for the item.
  • *Type: The type of hosted layer.
  • *Item created: Date the item was created.
  • *Item updated: Date the item was updated.
  • *View count: Number of times the item page was viewed.
  • *Owner: Name of the owner or publisher of the data.
  • Name: The name of the hosted layer.
  • Description: Text that describes the layer, what data it contains, and what it is used for.
  • Terms of use: Description of usage restrictions for the data.
  • Tags: Search text used to find an item in a portal.
  • Credits: Attribution for the data.
  • Terms of use: The terms and usage restrictions.

*Read-only properties

Data service properties

The service properties of a hosted layer (item) provide information about the underlying data service. For example, it contains the layers, source, and service URL. These are read-only but are useful when you need to find the URL for the underlying data service and layers.

Examples of service properties include the following:

  • *Layers: Access to other layers if present.
  • *Source: The type of data service (feature service, vector tile service, map service).
  • *Size: The size of the data in KB.
  • *URL: The URL used to access the layer in the data service.

*Read-only properties

Code examples

You can use data management tools to get the properties of a hosted map tile layer (item) or you can use the ArcGIS REST APIs. The following examples illustrate how to programmatically get the properties of a map tile layer (item) and map tile service.

Get item properties

To access the map tile layer item properties directly, use the REST API with the item ID. The example below returns the item properties and values for a map tile layer (item).

Request

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/content/items/366d13d521b844119c9052758b33afc9?f=json&token={access_token}

Response

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
  "id": "366d13d521b844119c9052758b33afc9",
  "owner": "esri_devlabs",
  "orgId": "GVgbJbqm8hXASVYi",
  "created": 1691516047000,
  "modified": 1691516064000,
  "guid": null,
  "name": "Santa_Monica_Mountains_Parcels",
  "title": "Santa Monica Mountains Parcels Styled ITL",
  "type": "Map Service",
  "typeKeywords": [
    "ArcGIS Server",
    "Data",
    "Map Service",
    "Service",
    "Singlelayer",
    "WMTS",
    "Hosted Service"
  ],
  "description": "Feature layer generated from running the Find Existing Locations solutions for  LA County Parcels.<div><i><u>Expression<\/u>  LA County Parcels intersects Boundary <\/i><\/div>",
  "tags": ["data"],
  "snippet": "Feature layer generated from Find Existing Locations",
  "thumbnail": "thumbnail/ago_downloaded.png",
  "documentation": null,
  "extent": [
    [
      -118.9447030492532,
      33.96210762649325
    ],
    [
      -118.34289092432702,
      34.19379615313072
    ]
  ],
  "categories": [],
  "spatialReference": "102100",
  "accessInformation": null,
  "licenseInfo": null,
  "culture": "en-us",
  "properties": {
    "jobUrl": "https://analysis3.arcgis.com/arcgis/rest/services/tasks/GPServer/FindExistingLocations/jobs/jeebbcea19b5a4fb7b1350496f621cb29",
    "jobType": "GPServer",
    "jobId": "jeebbcea19b5a4fb7b1350496f621cb29",
    "jobStatus": "completed"
  },
  "advancedSettings": null,
  "url": "https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Santa_Monica_Mountains_Parcels_Styled_ITL/MapServer",
  "proxyFilter": null,
  "access": "public",
  "size": 22556593,
  "subInfo": 0,
  "appCategories": [],
  "industries": [],
  "languages": [],
  "largeThumbnail": null,
  "banner": null,
  "screenshots": [],
  "listed": false,
  "commentsEnabled": true,
  "numComments": 0,
  "numRatings": 0,
  "avgRating": 0,
  "numViews": 7,
  "scoreCompleteness": 55,
  "groupDesignations": null,
  "tokenExpirationDate": -1,
  "lastViewed": 1694041200000
}

Get map tile service properties

If you want to access the map tile service properties directly, you can do so by using the REST API Map Service endpoint. The example below returns the service properties and values for a hosted map tile service in ArcGIS.

Request

Use dark colors for code blocksCopy
1
https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Santa_Monica_Mountains_Parcels_Styled_ITL/MapServer?token={access_token}

Response

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
  "id" : 2352,
  "name" : "Santa_Monica_Mountains_Parcels_Styled_ITL",
  "server" : "GVgbJbqm8hXASVYi",
  "ownerUserName" : "esri_devlabs",
  "serviceDescription" : "Feature layer generated from running the Find Existing Locations solutions for  LA County Parcels.\u003cdiv\u003e\u003ci\u003e\u003cu\u003eExpression\u003c/u\u003e  LA County Parcels intersects Boundary \u003c/i\u003e\u003c/div\u003e",
  "mapName" : "Santa_Monica_Mountains_Parcels_Styled_ITL",
  "description" : "Feature layer generated from running the Find Existing Locations solutions for  LA County Parcels.\u003cdiv\u003e\u003ci\u003e\u003cu\u003eExpression\u003c/u\u003e  LA County Parcels intersects Boundary \u003c/i\u003e\u003c/div\u003e",
  "abstract" : "Feature layer generated from running the Find Existing Locations solutions for  LA County Parcels.\u003cdiv\u003e\u003ci\u003e\u003cu\u003eExpression\u003c/u\u003e  LA County Parcels intersects Boundary \u003c/i\u003e\u003c/div\u003e",
  "metadataLink" : "",
  "keywords" : [
    "data"
  ],
  "copyrightText" : "",
  "layers" : [
    {
      "id" : 0,
      "name" : "Santa_Monica_Mountains_Parcels_Styled_ITL",
      "parentLayerId" : -1,
      "defaultVisibility" : true,
      "subLayerIds" : null,
      "minScale" : 577791,
      "maxScale" : 0,
      "type" : "Feature Layer",
      "geometryType" : "esriGeometryPolygon"
    }
  ],
  "tables" : [],
  "spatialReference" : {
    "wkid" : 102100,
    "latestWkid" : 3857
  },
  "singleFusedMapCache" : true,
  "tileInfo" : {"rows":256,"cols":256,"dpi":96,"preciseDpi":96,"format":"PNG32","storageFormat":"esriMapCacheStorageModeExploded","packetSize":128,"compressionQuality":0,"antialiasing":true,"origin":{"x":-20037508.342787,"y":20037508.342787},"spatialReference":{"wkid":102100,"latestWkid":3857},"lods":[{"level":0,"resolution":156543.033928,"scale":591657527.591555},{"level":1,"resolution":78271.5169639999,"scale":295828763.795777},{"level":2,"resolution":39135.7584820001,"scale":147914381.897889},{"level":3,"resolution":19567.8792409999,"scale":73957190.948944},{"level":4,"resolution":9783.93962049996,"scale":36978595.474472},{"level":5,"resolution":4891.96981024998,"scale":18489297.737236},{"level":6,"resolution":2445.98490512499,"scale":9244648.868618},{"level":7,"resolution":1222.99245256249,"scale":4622324.434309},{"level":8,"resolution":611.49622628138,"scale":2311162.217155},{"level":9,"resolution":305.748113140558,"scale":1155581.108577},{"level":10,"resolution":152.874056570411,"scale":577790.554289},{"level":11,"resolution":76.4370282850732,"scale":288895.277144},{"level":12,"resolution":38.2185141425366,"scale":144447.638572},{"level":13,"resolution":19.1092570712683,"scale":72223.819286},{"level":14,"resolution":9.55462853563415,"scale":36111.909643},{"level":15,"resolution":4.77731426794937,"scale":18055.954822},{"level":16,"resolution":2.38865713397468,"scale":9027.977411},{"level":17,"resolution":1.19432856685505,"scale":4513.988705},{"level":18,"resolution":0.597164283559817,"scale":2256.994353},{"level":19,"resolution":0.298582141647617,"scale":1128.497176},{"level":20,"resolution":0.14929107082380833,"scale":564.248588},{"level":21,"resolution":0.074645535411904163,"scale":282.124294},{"level":22,"resolution":0.037322767705952081,"scale":141.062147}]},
  "minLOD" : 13,
  "maxLOD" : 22,
  "initialExtent" : {
    "xmin" : -13240863.776,
    "ymin" : 4023715.1402999982,
    "xmax" : -13173870.3567,
    "ymax" : 4054853.8936000015,
    "spatialReference" : {
      "wkid" : 102100,
      "latestWkid" : 3857
    }
  },
  "fullExtent" : {
    "xmin" : -13240863.776,
    "ymin" : 4023715.1402999982,
    "xmax" : -13173870.3567,
    "ymax" : 4054853.8936000015,
    "spatialReference" : {
      "wkid" : 102100,
      "latestWkid" : 3857
    }
  },
  "units" : "esriMeters",
  "supportedImageFormatTypes" : "",
  "created" : null,
  "modified" : null,
  "status" : "created",
  "access" : "SECURE",
  "minScale" : 79320,
  "maxScale" : 141,
  "exportTilesAllowed" : false,
  "maxExportTilesCount" : 100000,
  "cacheOnDemand" : true,
  "capabilities" : "Map,ChangeTracking",
  "type" : "MapServer",
  "currentVersion" : 11.1,
  "changeTrackingInfo" :
  {
    "lastSyncDate" : 1610980196116,
    "layerServerGens" : [
      {
        "id" : 0,
        "minServerGen" : 353490,
        "serverGen" : 865008
      }
    ]
  },

  "scheduleInfo" : {
    "name" : "",
    "startAt" : 1691518103060,
    "state" : "enabled",

    "recurrenceInfo" : {
      "frequency" : "minute",
      "interval" : 2
    }
  }
}

Tutorials

Workflows

Services

API support

Use Client APIs to create, manage, and access data services. The table below outlines the level of support for each API.

CreateManageAccess
ArcGIS Maps SDK for JavaScript1
ArcGIS Maps SDK for Kotlin1
ArcGIS Maps SDK for Swift1
ArcGIS Maps SDK for Java1
ArcGIS Maps SDK for .NET1
ArcGIS Maps SDK for Qt1
ArcGIS API for Python
ArcGIS REST JS
Esri Leaflet2
MapLibre GL JS23
OpenLayers23
Full supportPartial supportNo support
  • 1. Use portal class and direct REST API requests
  • 2. Access via ArcGIS REST JS
  • 3. Requires manually setting styles for renderers

Tools

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.