| Numéro d’ID de bogue |
BUG-000136722 |
| Envoi | January 13, 2021 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS API for JavaScript |
| Version trouvée | 4.18 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
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