Skip to content

Commit

Permalink
Merge pull request #2497 from Geoportail-Luxembourg/api_disable_rotation
Browse files Browse the repository at this point in the history
Disable rotation
  • Loading branch information
rmichaelis authored Jun 5, 2020
2 parents b9eab25 + 126fc5c commit 842488e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoportal/jsapi/src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ lux.Map = function(options) {
}

if (options.view === undefined) {
options.view = new ol.View();
options.view = new ol.View({enableRotation: false});
}

if (options.position) {
Expand Down

0 comments on commit 842488e

Please sign in to comment.