Disable two finger rotation on Map

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!

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

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