[openstreetmap/openstreetmap-website] Switch transport layer to vector style (PR #6938)

Marwin Hochfelsner notifications at github.com
Wed Mar 25 08:56:02 UTC 2026


@hlfan commented on this pull request.



> @@ -0,0 +1,24 @@
+//= require maplibre/i18n
+
+L.OSM.ThunderforestVector = L.OSM.MaplibreGL.extend({

You're defining this but extending shortbread?

>    code: "T"
   layerId: "transportmap"
   nameId: "transport_map"
   wiki: "https://wiki.openstreetmap.org/wiki/Transport_Map"
   apiKeyId: "thunderforest_key"
-  canEmbed: true

I'd like to wait for #6804 so this isn't necessary.

>    code: "T"
   layerId: "transportmap"
   nameId: "transport_map"
   wiki: "https://wiki.openstreetmap.org/wiki/Transport_Map"
   apiKeyId: "thunderforest_key"
-  canEmbed: true
-  canDownloadImage: true

Why does this need to be dropped?

>    code: "T"
   layerId: "transportmap"
   nameId: "transport_map"
   wiki: "https://wiki.openstreetmap.org/wiki/Transport_Map"
   apiKeyId: "thunderforest_key"
-  canEmbed: true
-  canDownloadImage: true
   maxZoom: 21

With the vector style, the maxmium zoom can be equal with the other vector styles, right?

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

Message ID: <openstreetmap/openstreetmap-website/pull/6938/review/4005033492 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260325/6beb47a7/attachment.htm>


More information about the rails-dev mailing list