Skip To Content ArcGIS for Developers Sign In Dashboard


You will learn: how to create a mobile map package file with a basemap and layers using ArcGIS Pro.

If you want to create an application that can display a map without a network connection, a mobile map package can be created using ArcGIS Pro. A mobile map package (.mmpk) organizes the basemaps, feature data, and map definitions of your map, along with routing models and a geocoder, into a single a compressed file. These files can be used to display maps and access data offline with applications built using the ArcGIS Runtime SDKs.

In this tutorial, you'll use ArcGIS Pro to create a simple mobile map package that contains layers and a vector tile basemap for the trailheads, trails, and parks near the Santa Monica mountains. This package is used to build offline applications. To learn more, see the Add layers to a map (offline) tutorial.

Note: If you do not have access to ArcGIS Pro, you can start a 60 day free trial or upgrade your current developer subscription.


Add layers to ArcGIS Online

The first step to creating a mobile map package is to assemble the operational layers you would like to include in your package. These layers contain the feature data used by offline applications. Examples of operational layers include the trails and parks feature layers used in previous tutorials. Each of these layers will be added as an item to your ArcGIS Online portal so it can be accessed with ArcGIS Pro.

  1. Go to ArcGIS Online and sign in.

  2. In the top menu, click Content > Add Item > From Web. In the Add Item from the web window, set the following values to add the Trailheads layer:

  3. Use the URLs below and repeat the steps above to add the Trails and Parks and Open Spaces layers to ArcGIS Online. Be sure to use unique titles and tags for each layer.

Download the basemap vector tile package

To use a basemap offline, you can extract the tiles for the area of interest. This area should be large enough to cover the extent of the operational layers. For this tutorial, the topographic vector tile layers have already been extracted for you. Learn more about extracting tile layers in the ArcGIS Pro documentation.

  1. Download the LosAngeles (.vtpk) file that inclues the basemap for the area of interest.

Set up the map in ArcGIS Pro

The next step is to set up the map in ArcGIS Pro. This generally means adding the basemap and the operational layers to the map that you would like to package. It's also a good time to set the position of the map.

  1. Start ArcGIS Pro. Under New, click Start without a template.

  2. On the main ribbon, click the Insert tab and then New Map > New Basemap to create a new map.

  3. In the Map tab, click + Add Data > Data and navigate to the LosAngeles.vtpk vector tile file you downloaded earlier. Click Ok to select the file and add it to the basemap.

  4. In the Map tab, click Locate and type Mahou Riviera in the search box and then hit the enter key. This will zoom the map to the location of the basemap. Zoom in and out to explore the extent.

  5. In the Contents window, right click Basemap > Save as a map file and save the basemap as Basemap.mapx.

  6. In the main ribbon, click the Insert tab and then New Map > New Map to create a new map.

  7. In the Map tab, click Basemap and click the basemap you just saved. It will be at the bottom of the window.

  8. In the Map tab, click + Add Data > Data. In the dialog, click Portal > My Content > Trailheads to add the layer to the map. Click Ok to close the window.

  9. Use the same steps above to add Trails and Parks and Open Space to the map.

  10. In the Map tab, click Locate and type Mahou Riviera in the search box and then hit the enter key. This will zoom the map to the correct location.

Create the mobile map package file

The last step is to use a geoprocessing tool to generate the mobile map package. In this case you will clip the layers out that fall within the current visible extent of the map.

  1. In the main ribbon, click the Analysis tab and then Tools.

  2. On the right side of the application in the Geoprocessing window, type Create Mobile Map Package. Click the first tool in the search results.

  3. In the Create Mobile Map Package tool, set the following properties:

    • Output File: offline-maps-package
    • Extent: Current Display Extent (Ensure the map is zoomed to the area you want to package. e.g. Mahou Riviera)
    • Clip Features: Checked (Clips the features to the current extent)
    • Title: Mahou Riviera Map Package
    • Summary: Santa Monica mountain trails and park.
    • Description: A mobile map package for trails and parks for the Santa Monica mountain area.
    • Tags: Santa Monica, Trails, Parks
  4. Click Run to create the mobile map package.

Congratulations, you're done!

Your finished mobile map package should be saved as an offline-maps-package.mmpk file on your hard drive. The file should contain the trailheads, trails, parks, and the topographic vector tile basemap for the area south of the Santa Monica mountains.


Build an application to use the mobile map package

Go to the Add layers to a map (offline) tutorial and build an application that can use your mobile map package and run offline.

Share your mobile map package in ArcGIS Online

Use the geoprocessing Tools in ArcGIS Pro to share your .mmpk with your ArcGIS Online account or with your organization. Hint: use the search bar to find the Share Package tool.

Explore the Living Atlas in ArcGIS Pro

At the top of the Project pane, click Portal > Living Atlas to explore content hosted on the Living Atlas. Experiment with adding different items to an ArcGIS Pro project.