Learn how to use the Map Viewer
An offline-enabled
In this tutorial, you use the Map Viewer to create and save a web map using the Santa Monica parcels hosted feature layer. You will then use the ArcGIS portal
Prerequisites
You need an ArcGIS Online
Steps
Set the basemap layer
To create a web map
-
Open the Map Viewer and sign into your ArcGIS account.
-
In the left-panel, click Layers > Add.
- Click the My content dropdown and select ArcGIS Online.
- In the search box, type World Navigation Map (for Developers).
- Click on the resulting Tile Layer owned by esri_vector, then click Use as basemap.
-
In the left-panel, click Layers to close the window.
Set focus to an area of interest
To specify the viewpoint
-
In the bottom right panel, click the magnifier icon.
-
Type in
Santa Monicain the search field and hit enter. This will set your map focus to an area of interest, which, in this case, is the city of Santa Monica, California. -
In the left panel, click Map properties.
-
Under Map view, toggle on the Preserve map scale. This will ensure that the map focus stays on the city of Santa Monica, California, even after you close the web map.
Add data layer
To display data in your web map
- In the left panel, click + Add > Add layer from URL.
- Copy and paste the URL
https.://services3.arcgis.com/ G Vgb Jbqm8h XASV Yi/arcgis/rest/services/ Santa _Monica _public _parcels/ Feature Server - Click Add to map.
Save the web map
Now that you have a web map, you need to save it to your portal.
- In the left panel, click Save > Save as. At minimum, you need to provide a title and tags for your web map.
By default, your web map sharing level is set to Owner. To access the offline map in your application, you need an access token
Enable web map for offline use
-
In your web browser, find the item ID
An item ID is a unique identifier representing a single item stored, managed, and accessed in a portal, such as a web map, hosted layer, or file. at the end of the URL for the web map you just saved.- For example:
8ab76e9c5352400d87ca3315db9ba08e
- For example:
-
In a new browser tab, copy and paste the following URL and insert your item ID. This will return the item page for your web map, where you can configure it for offline use.
https://www.arcgis.com/home/item.html?id= <ITEM _ID > - For example: https://www.arcgis.com/home/item.html?id=8ab76e9c5352400d87ca3315db9ba08e
-
Click Settings on the top bar of the item page.
-
Scroll down to the Offline menu.
-
If you don't see the Offline enabled label at the top left corner, click Check compatibility and turn on Offline.
-
Optionally, you can also manage advanced offline settings for your web map by clicking Options. These settings allow you to choose what data or updates mobile devices get and use a tile package
A tile package is a tiled layer that has been bundled into a single for your offline basemap.tpk/.tpkxfile. The file contains a tile cache of the data and metadata about the layer, packaged into a single, portable file.A basemap is the foundational layer and data that provides the overall visual and geographic context for a map or scene. It typically includes geographic features and labels for land, water, roads, buildings, cities, places, and administrative boundaries, but can also include raster data such as satellite and areal images. .
Under Features and attachments, you can configure download behaviors for both editable and read-only features. Adjusting how attachments and features are delivered can reduce the time it takes to synchronize edits, especially in areas of poor connectivity, as well as the amount of cellular data used.
Under Tables, you can choose how table rows are included in your offline map areas.
Under Basemap and tile package, you can choose which basemap you want to use on your map. If you choose to use a local tile package, you will provide the filename of the package on your device.
-
Click Save. Your web map is enabled for offline use now.
What's next?
Learn how to use the offline-enabled web map

Create an offline map area
Use your portal to create an offline map area from an offline-enabled web map.

Display an offline map on demand
Download and display an offline map for a custom area of a web map.