Disable navigation "roll"-effect

305
3
Jump to solution
03-08-2019 03:53 AM
RomanKönig
New Contributor III

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?

1 Solution

Accepted Solutions
RomanKönig
New Contributor III

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.

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

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.

RobertScheitlin__GISP
MVP Esteemed Contributor

Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.

0 Kudos
RomanKönig
New Contributor III

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.