A client has requested to disable the smoothing "roll"-effect on panning a map.
I was looking for an attribute on the MapView object, etc. but coudln't find any.
So my question is:
Is there a way to disable this rolling effect by configuration, e.g. by setting animation time / distance to 0 somewhere?
Solved! Go to Solution.
ok, we found the code to disable the roll in esri/views/2d/navigation/actions/Pan by disabling esri/views/navigation/PanPlanarMomentumEstimator
Will file an enhancement request for this case.
Roman,
This is not possible in the API currently (according to Yann Cabon). The team will consider adding the ability to disable this in a future release.
Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.
ok, we found the code to disable the roll in esri/views/2d/navigation/actions/Pan by disabling esri/views/navigation/PanPlanarMomentumEstimator
Will file an enhancement request for this case.