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

Frank Elsinga notifications at github.com
Thu Jan 29 12:13:03 UTC 2026


@CommanderStorm 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",

No, they are map specific IDs to identify the layer.

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

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


More information about the rails-dev mailing list