[openstreetmap/openstreetmap-website] Scale bar in bottom corner too small to be useful (Issue #5114)
mmd
notifications at github.com
Sat Aug 24 16:31:11 UTC 2024
By the way, Leaflet also has a param to set the max width of the scale:
In app/assets/javascripts/index.js:
```javascript
// L.control.scale()
// .addTo(map);
L.control.scale ({maxWidth:400}).addTo (map);
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5114#issuecomment-2308448505
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5114/2308448505 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240824/8c83262c/attachment.htm>
More information about the rails-dev
mailing list