In JS API 4.9 it was possible to disable the rotation events on a MapView by setting the rotationEnabled constraint to false. This resulted in the user not being able to rotate the map, but it was still possible to change the rotation by script.
In 4.10 setting the rotationEnabled constraint prevents setting the rotation by script also.
Is this a bug or as designed?
Especially on (smaller) mobile devices users are often accidentially rotating the map, e.g. on zooming.
How can we prevent the user rotating the map but being able to still set the mapview rotation property?