You are using a browser that is no longer supported. Please use the latest version of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Edge. For more information please see the System Requirements.
Skip To ContentArcGIS for DevelopersSign In Dashboard

Note: Support for 3D on mobile devices may vary, view the system requirements for more information.

This sample demonstrates how to add the search widget to a SceneView. The search widget provides a simple interface for searching features in FeatureLayers or geocoding locations with a Locator. Search allows you to enable suggestions as you type in the search box. When the search button is clicked, the search executes and the view uses goTo() to zoom to the top result. By default, the Search widget sets the view on the Search result. The level of detail (LOD) at the center of the view depends on the data source, with higher quality data sources returning extents closer to the feature obtained from the search.

Sample search results