increase length of scale bar

This commit is contained in:
Jon Atkins 2013-04-21 14:38:54 +01:00
parent 5eb7344895
commit e5079bc991

View File

@ -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;