AnsweredAssumed Answered

Override Popup zoomTo Event?

Question asked by cleotokos on May 26, 2016
Latest reply on May 26, 2016 by cleotokos

I'd like to change the popup window's zoomTo link functioning so that it zooms to the extent of the polygon/line feature rather than a zoom level. I'm not sure how to go about it though. Should I hide the current "zoom to" link and add my own? If so, how do I add something to the popup's actionsPane?

 

Or can I somehow detach the current event listener and add a new custom one? I already have my function set up to zoom to the proper extent, just not sure how to override the current "zoom to" click event.

Outcomes