I am encountering a quirk or potential issue with the Search widget using the JS API 4.x My search widget includes a geocoding service and feature layer source.
I have set a zoomScale property for both sources. When searching against the geocoding service, the scale is being honored (I believe). But when searching against the feature layer, it is not.
I am aware that I could use the goToOverride method to resolve this. However, it is my opinion that the widget is not working properly. Any help is appreciated.
I have a demo at https://codepen.io/pmckinney/pen/MWYLggN.
Sample searches:
- 15 W High Street, Carlisle
- New Courthouse
- 321 Gettysburg Pike, Mechanicsburg