AnsweredAssumed Answered

Callout being shown after zoom, even though I'm hiding it

Question asked by lkeitht on Apr 29, 2015
Latest reply on May 5, 2015 by sgill-esristaff

I have an onzoomlistener that hides the callout and requests data for the new map extent (a graphiclayer being populated from json).  The issue is that the callout is re-appearing after the zoom animation stops.  There does seem to be a reference to this in the docs - they say something along the lines of during an animation the callout is hidden and shown again after the animation stops.  This appears to be a bug, as I am making a call to hide the callout, but it shows it again.  I want it to stay off after a zoom.  The graphic which the callout is associated with may no longer be there after a zoom.

 

Putting a callout.hide() in either the preAction and postAction of the onzoomlistener has no effect.

 

Is there a way to do this, or a workaround?

 

Keith

Outcomes