Disable two finger rotation on Map

#1

Hi,

Is there any way to disable two finger rotation on a scatter map??

I wan’t to be able to zoom in and drag the map on touch devices but i don’t wan’t to be able to rotate it with two fingers. Please Help!

#2

In your graph element add some config settings, in this case:

dcc.Graph(id='my-graph',config={'modeBarButtonsToRemove': ['orbitRotation']})

Here you find an overview of all other options to include/exclude:dcc.Graph config options

1 Like
#3

Thanks you!! That’s exactly what I was looking for!