Hello, I'm working on a search widget where users types in an id of a feature and then the map zooms in and highlights that feature from streamLayer. That function is working fine when I can see the feature(point), but when I don't see the feature(point), lets say I go to Japan and my feature is in America, my query cannot find that point, this is my logic:
LayerView queries are all clientside, so if the data is not currently in the view, it's not available. If you want to guarantee you can find results in all your data (in/outside the view), you need to query the layer directly.