From ecd429ace90681b01956b022e069e2931c27d8cd Mon Sep 17 00:00:00 2001 From: Matteo V Date: Tue, 15 May 2018 16:55:55 +0200 Subject: [PATCH] fix #2696 map rotation disables correctly (#2905) --- web/client/plugins/Map.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/client/plugins/Map.jsx b/web/client/plugins/Map.jsx index cd06fd6157..2f9d30d39e 100644 --- a/web/client/plugins/Map.jsx +++ b/web/client/plugins/Map.jsx @@ -270,12 +270,14 @@ class MapPlugin extends React.Component { render() { if (this.props.map) { + const {mapOptions = {}} = this.props.map; + return ( {this.renderLayers()} {this.renderSupportTools()}