laptop and a wrench

Bug

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

Last Published: June 7, 2016 ArcGIS API for JavaScript
Bug ID Number BUG-000096920
SubmittedJune 6, 2016
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.16
Operating SystemN/A
StatusWill Not Be Addressed

Additional Information

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

Steps to Reproduce

Bug ID: BUG-000096920

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options