laptop and a wrench

Error

A feature layer created using a feature collection fails to run the 'load' event.

Última publicación: January 27, 2017 ArcGIS API for JavaScript
Número de ID del error BUG-000099146
EnviadoSeptember 6, 2016
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.17
Sistema operativoWindows OS
Versión de sistema operativo7.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

FL created using feature collection loads immediately, i.e. the load event gets fired when the code inside the constructor is still executing. var layer = new FeatureLayer(…); console.log(layer.loaded); // this will print true. So, even before the “layer” object is ready, the load event has already happened. So, the event listener for “load” event will never be fired.

Pasos para reproducir

ID del error: BUG-000099146

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