Merge branch 'statusbar' of https://github.com/hastarin/ingress-intel-total-conversion into hastarin-statusbar

This commit is contained in:
Jon Atkins
2013-05-13 00:06:18 +01:00
3 changed files with 26 additions and 26 deletions

View File

@ -28,7 +28,7 @@ window.plugin.scaleBar.setup = function() {
// are worse than Internet Explorer 6 whirring fans combined. Upgrade to the metric
// system already.
if (window.isSmartphone()) {
$('head').append('<style>.leaflet-control-scale { position: absolute; bottom: 15px; left: 0px; } </style>');
$('head').append('<style>.leaflet-control-scale { position: absolute; bottom: 15px; left: 0px; margin-bottom: 20px !important; } </style>');
window.map.addControl(new L.Control.Scale({position: 'bottomleft', imperial: false, maxWidth: 200}));
} else {
$('head').append('<style>.leaflet-control-scale { position: absolute; top: 2px; left: 40px; } </style>');