You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>An <code>ArcGISTiledLayer</code> consumes raster tiles provided by an ArcGIS service or a tile package (.tpk & .tpkx). Dividing a raster into tiles allows the map to provide relevant tiles and level of detail to the user when panning and zooming.</p>
10
+
7
11
<h2>How it works</h2>
8
12
9
-
<p>To create a <code>Basemap</code> from a local tile package:</p>
10
13
<ol>
11
-
<li>Create a <code>TileCache</code>, specifying the path to the local tile package</li>
12
-
<li>Create a <code>ArcGISTiledLayerLayer</code> with the tile cache</li>
13
-
<li>Create a <code>Basemap</code> with the tiled layer</li>
14
-
<li>Create a <code>ArcGISMap</code> with the basemap and set it to a <code>MapView</code></li>
14
+
<li>Create a <code>TileCache</code>, specifying the path to the local tile package.</li>
15
+
<li>Create a <code>ArcGISTiledLayer</code> with the tile cache.</li>
16
+
<li>Create a <code>Basemap</code> with the tiled layer.</li>
17
+
<li>Create a <code>ArcGISMap</code> with the basemap and set it to a <code>MapView</code>.</li>
15
18
</ol>
16
19
17
20
<h2>Relevant API</h2>
18
21
19
22
<ul>
20
23
<li>ArcGISMap</li>
21
24
<li>ArcGISTiledLayer</li>
22
-
<li>Basemap</li>
23
-
<li>MapView</li>
24
25
<li>TileCache</li>
25
26
</ul>
27
+
28
+
<h2>Additional information</h2>
29
+
30
+
<p><code>ArcGISTiledLayer</code> supports both .tpk and .tpkx file formats.</p>
<p>This service pre-generates images based on a tiling scheme which allows for rapid ArcGISMap visualization and navigation.
6
-
An ArcGISTiledLayer can also be added to the ArcGISMap as a layer but it's best practice to use as a basemap since its purpose is to provide geographical context.</p>
5
+
<h2>Use case</h2>
6
+
7
+
<p>An `ArcGISTiledLayer` consumes raster tiles provided by an ArcGIS service or a tile package (.tpk & .tpkx). Dividing a raster into tiles allows the map to provide relevant tiles and level of detail to the user when panning and zooming, allowing for rapid map visualization and navigation. The service in this sample pre-generates images based on a tiling scheme.</p>
7
8
8
9
<p><imgsrc="TiledLayer.png"/></p>
9
10
10
11
<h2>How it works</h2>
11
12
12
-
<p>To add an <code>ArcGISTiledLayer</code> as a <code>Basemap</code> to an <code>ArcGISMap</code>:</p>
13
-
14
13
<ol>
15
-
<li>Create an ArcGISTiledLayer from a URL.</li>
16
-
<li>Create a Basemap passing in the tiled layer from above.</li>
17
-
<li>Set basemap to ArcGIS map, <code>ArcGISMap.setBasemap()</code>.</li>
18
-
<li>Set map to mapview, <code>MapView.setMap()</code>.</li>
14
+
<li>Create an <code>ArcGISTiledLayer</code> object from a URL.</li>
15
+
<li>Pass the tiled layer in to a new <code>Basemap</code>.</li>
16
+
<li>Set the basemap to an <code>ArcGISMap</code>.</li>
19
17
</ol>
20
18
21
19
<h2>Relevant API</h2>
22
20
23
21
<ul>
24
22
<li>ArcGISMap</li>
25
23
<li>ArcGISTiledLayer</li>
26
-
<li>Basemap</li>
27
24
<li>MapView</li>
28
-
</ul>
25
+
</ul>
26
+
27
+
<h2>Additional information</h2>
28
+
29
+
<p>An <code>ArcGISTiledLayer</code> can also be added to the ArcGISMap as a layer, but it's best practice to use as a basemap since its purpose is to provide geographical context. Tiled Layer supports both .tpk and .tpkx file formats.</p>
0 commit comments