You can use search to find locations such as addresses, places, or points of interest. When there are configured layers in the scene, you can also search for specific features. For example, you can search for an underground utility ID and Scene Viewer will zoom to the utility, highlight it, and display a pop-up about the asset.
To make it easier for users to locate features in your scenes, you can configure specific layers in scenes to be searchable. The following layer types are available for search:
- Hosted feature layer
- Hosted scene layer with associated feature layer
- ArcGIS Server feature service layer*
- ArcGIS Server map service layer*
*See the ArcGIS Server help for more information.
To configure layers for searching, do the following:
- Verify that you are signed in to your ArcGIS Online account.
- Open the item details page of the scene you want to configure for feature search.
- Ensure that you are the owner or administrator of the scene.
- Click the Settings tab and click the Web Scene link at the top.
- Expand the Find Locations setting if it is not already expanded and check the By Layer check box.
- Click Add Layer.
- Choose a layer from the drop-down menu to configure for search.
- Choose an attribute field in the layer for which users will search.
For a field to be searchable (and therefore appear in the drop-down menu), it must contain strings or integers and not use a coded domain. Integer fields only support the Equals condition. For the best search results, choose a field with unique values.
- Choose whether the result should contain or be equal to the search terms.
- Enter the hint text that will appear in the search box when the user chooses a layer to search, such as Name or Address. The hint text is the same for all the layers configured for search.
- Repeat the steps to enable search on additional layers.
- Click Save.
Your scene now has feature search enabled. Others can use the search box at the top of Scene Viewer to find features in the layers you've configured.