Not sure what is happening here and hope someone can enlighten me. I am using jsapi 4 I can pass a value into a text box and click a button which then zooms to the required feature however, this is where the problem (I think) lies, this only works if accessing a layer stored on a local version of ArcGIS for Server 10.4. If I replace this layer with one stored on Amazon ArcGIS for Server, the feature displays only and doesn't zoom. Not sure why this is, can anyone shed some light. The caching is set to dynamically from the data only in both cases.
Thanks in advance