AnsweredAssumed Answered

Prevent navigation

Question asked by Ettapp on May 26, 2016
Latest reply on Apr 24, 2017 by bflessner

(Please excuse my english)

 

I have to restrain my users to pan and zoom from the current view when they hit a button (they switch from navigation mode to edition mode).

I found that it was possible in the version 3.16 (Map navigation | Guide | ArcGIS API for JavaScript )

I look into the Functionality matrix | ArcGIS API for JavaScript 4.0 and saw that "Enable/disable navigation" were coming soon, but I need it to work for the next month (diploma work)...

 

A potential (and temporary) solution (waiting for the feature to release officially), would be to add an invisible layer over the map to get clicks and the drags and only follow the clicks to the map, but maybe there is a better solution ?

(And maybe my bad understanding of english made me miss or misunderstood something...)

 

Thank you in advance for your answers,

Robin Chappatte

Outcomes