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

Marwin Hochfelsner notifications at github.com
Thu Jan 29 12:03:16 UTC 2026


@hlfan commented on this pull request.



>  };
+
+const createRasterStyle = function (maxzoom, tileUrl) {
+  return {
+    version: 8,
+    sources: {
+      raster: {
+        type: "raster",
+        tiles: convertIDUrlToMapLibreUrls(tileUrl),
+        tileSize: 256,
+        maxzoom: maxzoom
+      }
+    },
+    layers: [
+      {
+        id: "raster",

Won't reusing ids cause problems later?

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

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


More information about the rails-dev mailing list