[Vuejs]-Display static map with VueLayers

0đź‘Ť

Though i’m not familiar with the Vue-library, Several of the interactions you mention are derived from the “interaction” module, and not the “controls” module. See for example:

https://openlayers.org/en/latest/apidoc/module-ol_interaction_DragRotateAndZoom-DragRotateAndZoom.html

https://openlayers.org/en/latest/apidoc/module-ol_interaction_MouseWheelZoom-MouseWheelZoom.html

I would check if it’s possible to remove these interactions the way you removed the controls. Alternatively you can call your map object and use removeInteraction(interaction):

https://openlayers.org/en/latest/apidoc/module-ol_Map-Map.html#removeInteraction

Leave a comment