Select to view content in your preferred language

Add toggle to disable rotate capability in map widget

603
3
05-08-2024 07:21 PM
Status: Open
Labels (2)
EmilyMc
Occasional Contributor

Hi Team, 

We are looking to limit our users ability to rotate within the map widget on one of our applications. We have found that some of our users have accidentally rotated the map, and are unable to get back to the default view. In the application there is no need for the rotate function to be used, and so we would like to disable it. 

Currently, the only option for disabling the rotate functionality is to un-toggle the enable scroll zooming option. We would still like our users to be able to scroll in and out using the mouse. Is it possible to separate the scroll and rotate capabilities into two toggles so that one can be enabled/ disabled, without the other?

Thanks!

3 Comments
TomDuncanGIS

This must have been an oversight on the part of the ExB team. This is a fundamental option that is included in WAB that needs to be in ExB. 

BenGunnewijk

Yes indeed, please allow us to disable just rotation.

KrisMilburn

Toggling off the scroll zoom does not disable the right-click and rotate for me, besides, scroll zoom is a desirable feature for us. I would also like to see a way to disable rotation of the map in either map viewer or XBLD. This configuration is available in some of the Instant Apps.