Identify Popup - Control for InfoWindow

453
1
11-13-2012 11:24 AM
VernWolfley
New Contributor III
All,
I have been working on a map using this sample for my identify task and popup. (Identify with Popup) - http://help.arcgis.com/en/webapi/javascript/arcgis/samples/find_popup/index.html  It works great but I would like to turn off the popup window when a user clicks on a point with no information.  I have not been able to find any documentation about how to do this?  Any suggestions?  You can see my application at: http://geo.azmag.gov/maps/landmarks/

Thanks
0 Kudos
1 Reply
AndyBurns
Occasional Contributor
Easiest way i would do it would be an if/else statement based on the json results being blank when you click on the map with no info. There is probably an easier way to do it.

Hope this helps.
0 Kudos