laptop and a wrench

Error

After ArcGIS API for JavaScript API 4.21, the API has the featurelayer-snapshot-enabled function that can decrease the drawing time of layers, thus user's other layers cannot be loaded, just the first layer is loaded with one point. The Client-side is not sending geometry parameters with 4.21 and 4.22 and 4.23 versions of ArcGIS JS API with KOOP Service.

Última publicación: July 8, 2022 ArcGIS API for JavaScript
Número de ID del error BUG-000146641
EnviadoFebruary 4, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.21
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoNon-Reproducible

Información adicional

The issue has been fixed with KOOP service: https://github.com/koopjs/FeatureServer/pull/219. The issue is no longer reproducible with ArcGIS API with JavaScript 4.21+.

Solución alternativa

  • Adding the below code before the <script src="https://js.arcgis.com/4.22/"></script>
    • <script>
    •   var esriConfig = {
    •   has: {
    •    "featurelayer-snapshot-enabled": 0
    •   }
    •   }
    •  </script>
  • Sample code: https://codepen.io/fzeng/pen/xxPEzpW?editors=1010

Pasos para reproducir

ID del error: BUG-000146641

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga