Adds scale line to map client

pull/320/head
mpeltriaux 2 years ago
parent 0a3a9b2480
commit 6ce6834acd

@ -1,7 +1,7 @@
.netgis-attribution
{
position: absolute;
left: 0mm;
right: 0mm;
bottom: 0mm;
padding: 1mm;
background: rgba( 255, 255, 255, 0.5 );

@ -133,7 +133,9 @@ netgis.MapOpenLayers.prototype.initMap = function()
view: this.view,
pixelRatio: 1.0,
moveTolerance: 5,
controls: []
controls: [
new ol.control.ScaleLine(),
]
}
);

Loading…
Cancel
Save