From e5079bc991ab50fd101cfc29af7feb2e89e59554 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sun, 21 Apr 2013 14:38:54 +0100 Subject: [PATCH] increase length of scale bar --- plugins/scale-bar.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scale-bar.user.js b/plugins/scale-bar.user.js index 5e784c12..23329456 100644 --- a/plugins/scale-bar.user.js +++ b/plugins/scale-bar.user.js @@ -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;