[openstreetmap/openstreetmap-website] Add Shortbread-based vector tile layer (PR #6137)

Anton Khorev notifications at github.com
Fri Jul 18 12:46:25 UTC 2025


@AntonKhorev commented on this pull request.



> @@ -79,3 +79,12 @@
       osm_france_link:
         id: "osm_france"
         href: "https://openstreetmap.fr/"
+
+- leafletOsmId: "Shortbread"
+  code: "S"
+  layerId: "shortbread"
+  nameId: "shortbread"

You can add `maxZoom: 22` here because various things don't work on higher zooms.

For example, you'll get gigantic scale bars, and Leaflet doesn't care about their `maxWidth` option below 1 meter.
<img width="864" height="81" alt="image" src="https://github.com/user-attachments/assets/8f81f99f-f1ac-4842-b94b-57b234361a4f" />


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6137#pullrequestreview-3033427283
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6137/review/3033427283 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250718/0066c4a6/attachment-0001.htm>


More information about the rails-dev mailing list