When working with Spatial Relationship, the filtered points on the edge and fall just inside the polygon are only highlighted when zooming in, and disappears when zooming out.
上次发布: March 9, 2021ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000136722
已提交
January 13, 2021
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.18
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This behavior is as designed. This documentation https://developers.arcgis.com/javascript/latest/query-filter/#should-i-use-client-side-query-or-server-side-query explains the behavior.
Basically at a particular view scale, a point can shift left-right and top-bottom by up to half of view resolution.
For accurate results, use the layer.queryFeatures() or better layer.queryObjectIds with the same query (https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-support-FeatureFilter.html#createQuery) to get back the features ids, honoring the spatial query. Then, use the ids of the objects in the filters.
The FeatureFilter is an updated doc to clarifying it is a client-side operation.