laptop and a wrench

Bug

The Search widget fails to zoom to the location of a result when using a custom elevation layer in the ArcGIS API for JavaScript 4.7 application.

Last Published: March 21, 2019 ArcGIS API for JavaScript
Bug ID Number BUG-000114728
SubmittedJune 18, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.7
Operating SystemN/A
Version Fixed4.9
StatusFixed

Workaround

Use the search-complete event handler on the Search widget:searchWidget.on('search-complete', function(result){        console.log('result', result);        view.goTo(result.results[0].results[0].extent);      });

Steps to Reproduce

Bug ID: BUG-000114728

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options