SomeoneElseOSM / SomeoneElse-style

An "England and Wales rural pedestrian" focused OSM-based map style. Example at https://map.atownsend.org.uk/maps/map/map.html . This is the tag preprocessing part of the style.
GNU General Public License v3.0
9 stars 3 forks source link

Show map scale #22

Closed hungerburg closed 2 months ago

hungerburg commented 2 months ago

Leaflet has https://leafletjs.com/reference.html#control-scale - I think this is a must-have for a map.

SomeoneElseOSM commented 2 months ago

Fixed in https://github.com/SomeoneElseOSM/SomeoneElse-map/commit/a0f184648ccd62063d64ff306eb9f7d4db8ea828 . Shift-refresh the map to reload the scripts, then press "controls" to toggle all 3 controls on and off.

On mobile the scale control can get hidden behind the attribution if a layer with a long attribution is turned on, but meh.