Create a feature layer in your ArcGIS portal that will be configured for offline use in your app.

Prerequisites

You need an ArcGIS Online or ArcGIS Enterprise account.

Steps

Get parcel dataset

Use the Santa Monica Parcels dataset to create a hosted feature layer for your web map.

  1. In your web browser, go to the Santa Monica Parcels item.

  2. Click the Download button to download the zip file locally. Do not unzip this file.

Create a feature service

In your web browser, sign in to your portal.

  1. In the top navigation bar, click Content.

  2. Click New item. To upload the Santa Monica Parcels shapefile, you can either:

    • Drag and drop the file.
    • Or, click Your device and navigate to the file path.
  3. Select Add Santa Monica Parcels.zip to publish the file as a hosted feature layer.

  4. In Fields, leave all fields at their default settings and click Next.

  5. In Location settings, leave the default settings and click Next.

  6. Set the following information in the item details pane:

    • Title: Santa Monica Parcels
    • Tags: Santa Monica Parcels.
    • Summary: Parcels in the Santa Monica Mountains.
  7. Click Next to create the new feature layer and feature service.

The feature layer will look something like this:

Santa monica parcels feature layer

Set the feature styles

Apply unique colors to the Santa Monica parcels layer based on land use types.

  1. Style the parcels based on the usetype field.

    1. Go back to the item page > Visualization.

    2. In the left panel, click the Layers and select the Santa Monica parcels layer. In the right panel, click Styles.

    3. Click + Field, and add usetype.

    4. Under Pick a style, select Types (unique symbols) and click Style options.

    5. Click on the symbol next to each of the use type values to update the symbol color.

    6. Set each of the usetype values to the following properties:

      • Fill Color:
        • Residential: #ffde3e
        • Commercial: #c29ed7
        • Industrial: #004c73
        • Government: #fc921f
        • Institutional: #149ece
        • Recreational: #267300
        • Miscellaneous: #b7814a
      Style options panel in Map Viewer showing a feature layer symbolized with unique fill colors by use type
    7. Click the X to exit out of Symbol style.

    8. Click the pencil icon next to symbol style. Set the following properties for all the use types:

      • Fill transparency: 30%
      • Outline color: #ffffff
      • Outline transparency: 65%
      • Outline width: 1
      • Adjust width automatically: false
      Style options panel in Map Viewer showing updated fill and outline settings applied to all symbols.
    9. Click the X to exit out of Symbol style. Then click Done twice.

    10. Click Save to save the style in the feature layer item.

The styled layer will look something like this:

Santa monica parcels feature layer

Manage service settings

  1. In the feature layer item page, go to Settings tab > Feature layer (hosted).
  2. Click the Enable sync (required for offline use and collaboration) check box.
  3. Click Save.

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