Skip to content

Commit

Permalink
removed rotate control on editor maps
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Dec 5, 2017
1 parent 1041386 commit 68d4e54
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -92,10 +92,9 @@
projection: gnMap.getMapConfig().projection,
zoom: 2
}),
// apply default controls if not in editor map
// show zoom control in editor maps only
controls: type !== this.EDITOR_MAP ? [] : [
new ol.control.Zoom(),
new ol.control.Rotate()
new ol.control.Zoom()
]
});

Expand Down

0 comments on commit 68d4e54

Please sign in to comment.