When I create a search widget (using 4.9) when I search for a location using the esri geocoder, it zooms to the result just fine. But I've also defined a feature layer source, and it WON'T zoom to that result; only pan. I've tried setting the zoomScale to several different values, but it makes no difference. It will pan, but not zoom. Any help?? I can't find any examples with zoom at all.
Here's a pared down version:
searchWidgetTest = new Search({
view: view,
sources:[{
featureLayer: new FeatureLayer({
url: "https://server/arcgis/rest/services/folder/layers/MapServer/0"
}),
searchFields: ["NAME", "NUMBER"],
zoomScale:200
}]
});