aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/view/map/BaseMap.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index ea7b58d7..0559e0c9 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -188,6 +188,7 @@ Ext.define('Traccar.view.map.BaseMap', {
break;
default:
this.map.addControl(new ol.control.ScaleLine());
+ break;
}
target = this.map.getTarget();