AnsweredAssumed Answered

Identify popup issues

Question asked by dschatt on Jun 29, 2016
Latest reply on Jun 30, 2016 by dschatt

hi, I'm working with the version 3.17 and I'm generating popups to display feature attributes using the IdentifyTask object.  I basically used the sample code for "Display identify results in a popup".    I have two issues:

 

1) I used the LAYER_OPTION_VISIBLE setting for my identify parameters.  But it's still identifying on features that aren't visible.  I don't know why...

 

2) When I click on the map but not on a feature, a popup displays saying "No information available".  I'd like nothing to pop up when I do this, because I have other click tools and I don't want this to pop up unnecessarily.   Not sure how to do this..

Thanks for any help... 

 

P.S. I would love to provide my code but I have absolutely no idea how to cut and paste it.  I tried to do it directly and also using the "Javascript Syntax Highlighting" thing.  In both cases, the spacing is completely messed up and I see strange squiggles and boxes, etc.  Sorry...

Outcomes