laptop and a wrench

Bogue

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.

Dernière publication: March 9, 2021 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000136722
EnvoiJanuary 13, 2021
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.18
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000136722

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement