laptop and a wrench

Error

Using InfoWindow with a web map throws the error, "g.clearFeatures is not a function."

Última publicación: June 7, 2016 ArcGIS API for JavaScript
Número de ID del error BUG-000096920
EnviadoJune 6, 2016
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.16
Sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

This is not possible using the InfoWindow. There is a call to clearFeatures() and setFeatures() when the InfoWindow shows on the webmap. These methods are not available on InfoWindow, they are only available with Popup.Updated it to use popup, and it works fine. Please see http://jsbin.com/jamuca/1/edit?html,css,js,output

Pasos para reproducir

ID del error: BUG-000096920

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