Skip to content

Commit 1af57b9

Browse files
committed
disable map rotation on openlayers
1 parent fcfbea4 commit 1af57b9

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

web/client/localConfig.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@
9898
"mobile": [{
9999
"name": "Map",
100100
"cfg": {
101+
"mapOptions": {
102+
"openlayers": {
103+
"interactions": {
104+
"pinchRotate": false,
105+
"altShiftDragRotate": false
106+
}
107+
}
108+
},
101109
"tools": ["locate"]
102110
}
103111
}, "Version", "DrawerMenu",
@@ -195,6 +203,10 @@
195203
"cfg": {
196204
"mapOptions": {
197205
"openlayers": {
206+
"interactions": {
207+
"pinchRotate": false,
208+
"altShiftDragRotate": false
209+
},
198210
"attribution": {
199211
"container": "#mapstore-map-footer-container"
200212
}
@@ -349,8 +361,12 @@
349361
"name": "Map",
350362
"cfg": {
351363
"tools": ["locate"],
352-
"mapOptions": {
364+
"mapOptions": {
353365
"openlayers": {
366+
"interactions": {
367+
"pinchRotate": false,
368+
"altShiftDragRotate": false
369+
},
354370
"attribution": {
355371
"container": "#mapstore-map-footer-container"
356372
}

0 commit comments

Comments
 (0)