One way to find a location or data on a map is to search for it. You can pan and zoom or read details in pop-ups until you find what you want, but using a search tool is often faster and more precise. For example, if you need to find a particular storm drain that was recently reported as damaged and you only use a map to locate it, you must zoom in to the area where you think the drain is located and view details of each drain until you find the right one. Instead, you can use a search tool to locate the drain by its ID.
Map Viewer (formerly a separate beta installation but now included with the portal automatically) includes an integrated search option that combines resources in the map such as locators configured by your organization and searchable layers. When searching for a location, you can enter addresses, places, points of interest, street intersections, and longitude and latitude coordinates. When you search for a location or feature, suggestions are provided to help you find what you're looking for. By default, the integrated search option combines the available resources in the map, but you can also search using a single resource—for example, only the layer with the storm drains.
The map display automatically zooms to the selected search result, and a pop-up appears at the location.
Use search to find locations and features
To find locations and features using the search option, complete the following steps:
- Open a new or existing map in Map Viewer.
- On the Settings (light) toolbar, click Map tools and choose Search.
The search box appears on the map.
- Enter keywords in the search box.
Keywords can include addresses, street intersections, places, points of interest, longitude and latitude coordinates, feature IDs, and so on.
Note:
As you type, similar recent searches or suggestions based on similar keywords appear. You will see suggestions for features from hosted feature layers, street addresses, street intersections, points of interest by name or by type (for example, Riverside Hospital or hospital), place-names (such as city, county, province, and so on), and postal codes. Locators may or may not have suggestions enabled. - If an arrow appears in the search box, click it and choose an option to search multiple resources. You can search all available resources by default.
These resources can include locators configured by your organization and layers the map author configured as searchable.
- Press Enter when you finish typing the keywords in the search box, or select one of the suggestions.
The map display zooms to the location of the search result and a pop-up with information for the search result appears.
- Optionally, click the Show more results link in the pop-up and select a different result from the list.
Add search results to a sketch layer
You can use Map Viewer to search for a location or feature and add the result to a new or existing sketch layer in your map. Search results added to sketch layers are saved with a pop-up containing the location or feature's name. You can configure the style, pop-up, and other properties for each location or feature in the sketch layer.
- Use search to find a location or feature in the map.
- Once you get the result you want, click Add to new sketch in the pop-up.
The search result is added to a new sketch layer with a pop-up containing information from the search result.
Tip:
If your map already contains one or more sketch layers, you can choose to add the result to an existing sketch layer by clicking the button for the desired layer in the pop-up.
- To add additional results, perform a new search and add the result to your map either as a new sketch layer or as part of an existing sketch layer.
- To store the layer with the map, save the map.