AnsweredAssumed Answered

ArcGIS for JavaScript: customize pan using mouse middle button

Question asked by cai_gis on Dec 4, 2016
Latest reply on Dec 18, 2016 by cai_gis

Hi there,


I am trying to disable left mouse button click event while drawing on the map, at the same time allow users to pan using middle mouse button like in ArcMap while editing. I am looking for method like "panTo" which is mentioned in Esri document Map navigation, but could not be found in map or navigation classes. I find this method in MapWidgetProxy, but could not find example that shows how to use it. 


I would really appreciate it if anyone would provide suggestions, cheers!