Hosted image tile layers

Image tile layers showing the 2018 Kilauea eruption with data published as hosted image tile services

What is a hosted image tile layer?

A hosted image tile layer is a reference to an image tile layer in an image tile service used to store your data. Applications can use image tile layers to display large amounts of geographic data in a map or scene with static image files.

You use hosted image tile layers when you want to:

  • Convert feature layers to image tile layers.
  • Store and access data as pre-cached image tiles in different formats e.g. JPEG or PNG.
  • Optimize accessing and displaying large amounts of data as tiles.
  • Use image tile data in offline applications.

How an hosted image tile works

You can create hosted image tile layers by converting existing hosted feature layers to tile layers. A hosted image tile layer references a MapService service that serves tiles (or levels) of png or jpeg images of geographic data. To get tile data, you make requests to the MapService.

Data hosting

Access hosted image tile layers and image tile services from your applications.

Manage an image tile layer

An item page allows you to manage the properties and settings for a hosted image tile layer. You can access an item page by signing in to your developer dashboard or ArcGIS Online. Once signed in, you can set properties such as the name, description, tags, and sharing settings.

View an image layer item page

To access an item page directly, use a portal search URL with the ID for the item. The portal URL for data hosted in ArcGIS is https://www.arcgis.com. To use this URL, the item must be shared publicly.

Use dark colors for code blocksCopy
 
1
https://www.arcgis.com/home/item.html?id=<ID>

Example: https://www.arcgis.com/home/item.html?id=366d13d521b844119c9052758b33afc9

Access an image tile layer

An image tile service hosts tile data. You can discover information about a layer by accessing the service endpoint directly. The endpoint returns properties such as the service name, item ID, spatial reference, extent, and tile information.

Get image tile layer properties

To access the layer or get properties, use a URL with the host and service name.

Use dark colors for code blocksCopy
 
1
https://<HOST>/arcgis/rest/services/<SERVICE_NAME>/MapServer

Example: https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Santa_Monica_Mountains_Parcels_Styled_ITL/MapServer

Get image layer tile data

To access layer data, use a URL with the host, service name, and path to tiles in {z}/{y}/{x} format.

Use dark colors for code blocksCopy
 
1
https://<HOST>/arcgis/rest/services/<SERVICE_NAME>/MapServer/tile/{z}/{y}/{x}

Example: https://services3.arcgis.com/GVgbJbqm8hXASVYi/ArcGIS/rest/services/Santa_Monica_Mountains_Parcels_Styled_ITL/MapServer/tile/16/26150/11169

Code examples

Display an image tile layer

To display a hosted image tile layer, you reference the hosted image tile layer by ID or URL and then add the layer to a map or scene. The client application requests the tiles from the image tile service for the current zoom level.

Steps

  1. Create a map or scene.
  2. Get the hosted image tile layer URL.
  3. Add the layer.
ArcGIS Maps SDK for JavaScriptArcGIS Maps SDK for JavaScriptArcGIS Maps SDK for .NETArcGIS Maps SDK for KotlinArcGIS Maps SDK for SwiftArcGIS Maps SDK for JavaArcGIS Maps SDK for Qt (C++)ArcGIS Maps SDK for Qt (QML)Esri LeafletMapLibre GL JSOpenLayersCesiumJS
Expand
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
    esriConfig.apiKey = "YOUR_API_KEY";


    const imageLayer = new TileLayer({
      url: "https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Santa_Monica_Mountains_Parcels_Styled_ITL/MapServer",
      maxScale: 0
    });

Tutorials

Services

Feature service

Add, update, delete, and query feature data.


Vector tile service

Store and access vector tile data.


Image tile service

Store and access image tile data.

API support

Import and create dataDisplay dataQuery dataEdit data
ArcGIS Maps SDK for JavaScript
ArcGIS Maps SDK for Kotlin
ArcGIS Maps SDK for Swift
ArcGIS Maps SDK for Java
ArcGIS Maps SDK for .NET
ArcGIS Maps SDK for Qt
ArcGIS API for Python
ArcGIS REST JS1
Esri Leaflet22
MapLibre GL JS322
OpenLayers322
Full supportPartial supportNo support
  • 1. Access portal via HTTP request and authentication.
  • 2. Access via ArcGIS REST JS.
  • 3. Requires manual application of renderers

Tools

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