Adds scale line to map client

This commit is contained in:
2023-03-28 13:51:28 +02:00
parent 6aa243192d
commit 3d967341e1
2 changed files with 4 additions and 2 deletions
@@ -133,7 +133,9 @@ netgis.MapOpenLayers.prototype.initMap = function()
view: this.view,
pixelRatio: 1.0,
moveTolerance: 5,
controls: []
controls: [
new ol.control.ScaleLine(),
]
}
);