Skip To Content

Create a map for inspections

In the previous lesson, you published a layer for fire hydrant inspections to ArcGIS Online or ArcGIS Enterprise. In this lesson, you'll add that layer to a web map. Then, you'll configure the layer's pop-up to show inspections in chronological order. Finally, you'll share your layer and map so your workers can access them.

Add the layer to a map

Before you can send your field crew to inspect hydrants, you need to add your hydrants layer to a web map.

  1. If necessary, sign in to your ArcGIS organizational account.
  2. At the top of your organization's home page, click Content.

    When viewing all your content, the My Content tab includes two items titled Hydrants_yourname. One is a service definition that contains the drawing specifications for your published service. The other is a feature layer you can add to a map.

  3. Click the title of the Hydrants_yourname feature layer to view its item page.

    Open item page

    On the item page, you'll see the information about the layer, including the summary you provided when publishing the layer in the previous lesson.

  4. Click the drop-down arrow next to Open in Map Viewer and choose Add to new map.

    Add to new map

    A map containing the layer opens.

    Default map

    Note:

    Your default extent may differ from the example depending on your monitor size and resolution.

    In the Contents pane are four items: the Hydrants yourname layer; the Topographic basemap; and the Inspections and Violations tables. Their layer names are a little confusing, however. You'll change them to something more readable before continuing.

  5. Point to the Hydrants yourname layer. Click More Options and choose Rename.

    Rename

  6. Rename the layer Hydrants and click OK.
  7. Rename the Hydrants yourname - Inspections table to Inspections. Rename the Hydrants yourname - Violations table to Violations.

Configure the layer's pop-up

Next, you'll configure the pop-up of the Hydrants layer to show data from the Inspections table. You'll adjust the pop-up's sort options so inspections appear in chronological order.

  1. Zoom in on the map so that individual hydrant features become distinguishable. Click any hydrant to view its pop-up.

    Default pop-up

    The pop-up shows the attribute information of the Hydrants layer. The formatting is good enough, but there is some information your workforce won't need to see. You also want to make sure you can access related inspections for each hydrant through the pop-up, although currently those tables don't have any records (you'll add records in the next lesson).

  2. Close the pop-up.
  3. In the Contents pane, point to the Hydrants layer. Click the More Options button and choose Configure Pop-up.
  4. For Pop-up Title, type Facility ID: (including the trailing space) before the field value to give it context.

    Pop-up Title

  5. In the Pop-up Contents section, below the list of field attributes, click Configure Attributes.
  6. In the Configure Attributes window, in the Display column, uncheck OBJECTID and GlobalID and click OK.

    Configure Attributes

    At the bottom of the Configure Pop-up pane are options for showing related data. Show related data is checked by default. There are also options for how related data is sorted.

  7. In the Related Data section, click Sort Options.

    Related Data

    The Sort Options window opens. You'll sort the inspections data chronologically.

  8. For Field, choose Inspection Date. For Order, choose Ascending.

    Sort Options

  9. Click OK in the Sort Options window. At the bottom of the Configure Pop-up pane, click OK.
  10. Click any hydrant to view its updated pop-up.

    Customized pop-up

Save and share the map

Now that you've created the map, you'll save and share it. To ensure you share it only with your field workforce, you'll create a group to which you can invite specific members.

  1. On the ribbon above the map, click Save and choose Save As.

    Save As

  2. For the title, type Hydrant Inspections and Violations.
  3. For the tags, add hydrants, inspections, violations, Naperville, and Illinois.
  4. For the summary, type A map of fire hydrants and hydrant inspection information in Naperville, Illinois.

    Save Map

  5. Click Save Map.

    The name change is reflected on the map. Now that your map is saved, you'll share it with your workforce. First, you'll exit the map and create a group. Groups allow you to choose who sees the group's content, so you can ensure only your workforce has access to the information.

  6. At the top of the map, click the Home menu and choose Groups.

    Home menu

    The Groups page opens, which shows the groups (if any) of which you are a member.

  7. Click Create group.

    Create group

    A new page opens, allowing you to set the parameters of your group.

  8. Name your group Naperville Hydrant Inspectors. For the summary, type Content for hydrant inspectors in Naperville, Illinois. Add search tags that describe the group's content and geography, like the ones you used for the map.

    Group Details

    Tip:

    You can drag or upload a thumbnail image. Good ideas for thumbnails are logos or crests of the town or department with which the group is associated. You probably don't have the Naperville city crest, so you can leave the thumbnail blank.

  9. For Who can view this group, click Only group members.

    Who can view this group

    By making your group private, only users you invite can join and view the group's content. Accept the default for the remaining questions.

  10. At the bottom of the page, click Create Group.

    The group is created. It has no items and no members other than you. If you want to invite members to the group, click Invite Users at the top of the page.

    Tip:

    If using ArcGIS Online, you can invite members both inside and outside of your ArcGIS Online organization. As long as your field inspectors have ArcGIS Online accounts, you can invite them to your group.

    Next, you'll share your web map with the members of the group.

  11. At the top of the page, click Content.
  12. Check the Hydrant Inspections and Violations web map and the Hydrants_yourname feature layer. Click Share.

    Share

  13. In the Share window, check the Naperville Hydrant Inspectors group.

    Share window

  14. Click OK.
  15. On the ribbon at the top of the page, click Groups. Click your Naperville Hydrant Inspectors group.

    The web map and Hydrants layer are now accessible through the group.

In this lesson, you created a web map to collect inspection records and shared the map with your field workforce. In the next lesson, you'll test your map's functionality in Collector for ArcGIS by simulating a field inspection of a fire hydrant.