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
|
||||
// are worse than Internet Explorer 6 whirring fans combined. Upgrade to the metric
|
||||
// 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user