Is there any indicator that a feature was returned from the local cache and not from the service? We have a backend process that essentially deletes and re-adds the feature, causing the attributes to be identical except for the objectid. From the runtime, the original feature was loaded and cached. And when the map is moved, the new feature is found in the extent. Then when an identify or a query is performed, both features are returned causing some issues. Is there any indication of that the feature is only locally?
The only fix for this that I see is to either call loadOrRefresh on the features, thereby deleting the local only one or setting the refresh interval so that the local feature is removed periodically.