Prevent infowindow with empty content if click on map (no feature)

1461
1
12-18-2014 12:07 PM
EdwardSohn2
New Contributor III

Currently the infowindow seems to come up with empty content when clicking on empty area of the map (i.e. no feature).

Want to prevent it from showing up.

Btw, if the map is zoomed out it behaves this way.  The info window does not show up for empty areas.

But if zoom in, the infowindow shows with empty content, then disappears after 1 second.

When clicking on a feature the infowindow behaves as expected independent of the zoom level.

Thanks.

0 Kudos
1 Reply
JakeSkinner
Esri Esteemed Contributor

Hi Edward,

Are you able to use the infoTemplate instead?

0 Kudos