[openstreetmap/openstreetmap-website] Minimap migration from Leaflet to MapLibre (PR #6683)
Frank Elsinga
notifications at github.com
Mon Jan 12 08:23:19 UTC 2026
@CommanderStorm commented on this pull request.
> + tiles: expandedUrls,
+ tileSize: 256,
+ maxzoom: maxzoom
+ }
+ },
+ layers: [
+ {
+ id: "raster",
+ type: "raster",
+ source: "raster"
+ }
+ ]
+ };
+};
+
+OSM.MapLibre.Styles.Mapnik = () => createRasterStyle(19, "https://tile.openstreetmap.org/{z}/{x}/{y}.png");
In normal software, yes I agree.
In this software, I think this breaks the convention that `OSM.PascalCase` is usually a constructor-ish thing, like `L.OSM[stileId]`.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6683#discussion_r2681249785
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6683/review/3649589947 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260112/6c059d2b/attachment.htm>
More information about the rails-dev
mailing list