Adds scale line to map client
This commit is contained in:
@@ -133,7 +133,9 @@ netgis.MapOpenLayers.prototype.initMap = function()
|
||||
view: this.view,
|
||||
pixelRatio: 1.0,
|
||||
moveTolerance: 5,
|
||||
controls: []
|
||||
controls: [
|
||||
new ol.control.ScaleLine(),
|
||||
]
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user