[openstreetmap/openstreetmap-website] Minimap migration from Leaflet to MapLibre (PR #6683)
Tom Hughes
notifications at github.com
Sun Jan 18 11:43:19 UTC 2026
@tomhughes commented on this pull request.
> +OSM.MapLibre.Styles.ShortbreadColorful = (options) => `https://vector.openstreetmap.org/styles/shortbread/${options.styleName}`;
+OSM.MapLibre.Styles.ShortbreadEclipse = (options) => `https://vector.openstreetmap.org/styles/shortbread/${options.styleName}`;
+OSM.MapLibre.Styles.OpenMapTiles = (options) => `https://api.maptiler.com/maps/openstreetmap/style.json?key=${options.apikey}`;
Oh sorry I didn't realise those ones weren't actually calling the `createRasterStyle` function and were just returning a string!
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6683#discussion_r2702346417
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6683/review/3675429711 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260118/4a71d93a/attachment.htm>
More information about the rails-dev
mailing list