Create a web map in Map Viewer that uses the Navigation basemap style. Optionally, you can add Santa Monica Parcels feature layer to the web map before saving it.
Prerequisites
- You need an ArcGIS Online or ArcGIS Enterprise account.
Steps
Create a web map
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.
-
Click the X icon on the top right to close the panel.
Add data (optional)
-
If you don't want to add data, skip to the Save the web map step.
-
In a different browser tab, open the Santa Monica Parcels item.
-
Click the Download button to download the zip file locally. Do not unzip this file.
-
Create a feature service in your portal from the downloaded file.
In your web browser, sign in to your portal.
-
In the top navigation bar, click Content.
-
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.
-
Select Add Santa Monica Parcels.zip to publish the file as a hosted feature layer
A hosted feature layer is a hosted layer (item) in a portal that is used to manage the properties and settings of a spatially-enabled feature layer in a feature service. . -
In Fields, leave all fields at their default settings and click Next.
-
In Location settings, leave the default settings and click Next.
-
Set the following information in the item details pane:
- Title:
Santa Monica Parcels - Tags:
Santa MonicaParcels. - Summary:
Parcels in the Santa Monica Mountains.
- Title:
-
Click Next to create the new feature layer
A feature layer (client-side) is a data layer that can access and display features from a feature service that has the same type of geometry and attribute fields. and feature serviceA feature service is a data service that provides access to spatial and non-spatial data in feature layers, feature layer views, and tables. .
-
-
Go back to your web map.
-
In the left panel, click Layers > Add.
- Click the My content dropdown and select ArcGIS Online.
- In the search box, type Santa Monica Parcels.
- Click on the resulting Feature layer (hosted), then click + Add.
-
Click the X icon on the top right to close the panel.
Style data (optional)
Apply unique colors to the Santa Monica parcels layer based on land use types.
-
Style the parcels based on the
usetypefield.-
Go back to the item page
An item page is a web page in ArcGIS Online or the developer dashboard used to access and manage the properties for an item and the content it references such as a web map, hosted layer, or file. > Visualization. -
In the left panel, click the Layers and select the Santa Monica parcels layer. In the right panel, click Styles.
-
Click + Field, and add
usetype. -
Under Pick a style, select Types (unique symbols) and click Style options.
-
Click on the symbol next to each of the use type values to update the symbol color.
-
Set each of the
usetypevalues to the following properties:- Fill Color:
- Residential:
#ffde3e - Commercial:
#c29ed7 - Industrial:
#004c73 - Government:
#fc921f - Institutional:
#149ece - Recreational:
#267300 - Miscellaneous:
#b7814a
- Residential:
- Fill Color:
-
Click the X to exit out of Symbol style.
-
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
- Fill transparency:
-
Click the X to exit out of Symbol style. Then click Done twice.
-
Click Save to save the style in the feature layer item.
-
Your web map should now look something like this.
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