increase length of scale bar
This commit is contained in:
parent
5eb7344895
commit
e5079bc991
@ -28,7 +28,7 @@ window.plugin.scaleBar.setup = function() {
|
|||||||
// Before you ask: yes, I explicitely turned off imperial units. Imperial units
|
// Before you ask: yes, I explicitely turned off imperial units. Imperial units
|
||||||
// are worse than Internet Explorer 6 whirring fans combined. Upgrade to the metric
|
// are worse than Internet Explorer 6 whirring fans combined. Upgrade to the metric
|
||||||
// system already.
|
// system already.
|
||||||
window.map.addControl(new L.Control.Scale({position: 'topleft', imperial: false}));
|
window.map.addControl(new L.Control.Scale({position: 'topleft', imperial: false, maxWidth: 200}));
|
||||||
};
|
};
|
||||||
|
|
||||||
var setup = window.plugin.scaleBar.setup;
|
var setup = window.plugin.scaleBar.setup;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user