Merge pull request 'Adds scale line to map client' (#320) from scale_line_map_client into master
Reviewed-on: SGD-Nord/konova#320
This commit is contained in:
commit
a2a7b00db5
@ -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…
Reference in New Issue
Block a user