[openstreetmap/openstreetmap-website] Minimap migration from Leaflet to MapLibre (PR #6683)

Marwin Hochfelsner notifications at github.com
Wed Jan 28 18:59:01 UTC 2026


@hlfan commented on this pull request.



> @@ -0,0 +1,36 @@
+const createRasterStyle = function (maxzoom, tileUrl) {
+  const expandedUrls = tileUrl.includes("{abc}") ?

I'd just go with the definition syntax from the editor-layer-index:

https://github.com/osmlab/editor-layer-index/blob/gh-pages/CONTRIBUTING.md

https://github.com/openstreetmap/iD/blob/585921e43fe5982d7d220514313fd64158b525ce/modules/renderer/background_source.js#L222-L225

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

Message ID: <openstreetmap/openstreetmap-website/pull/6683/review/3718496888 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260128/ed26c2e3/attachment.htm>


More information about the rails-dev mailing list