[openstreetmap/openstreetmap-website] Add OpenMapTiles vector map (PR #4042)

Marwin Hochfelsner notifications at github.com
Tue Jul 1 23:27:18 UTC 2025


@hlfan commented on this pull request.



> @@ -79,3 +79,18 @@
       osm_france_link:
         id: "osm_france"
         href: "https://openstreetmap.fr/"
+
+- leafletOsmId: "OpenMapTiles"
+  code: "V"
+  layerId: "openmaptiles_osm"
+  nameId: "openmaptiles_osm"
+  apiKeyId: "maptiler_key"

If you need the API key only in the style initialization the way you're currently doing it, then you don't need it here.
If you can set it by templating "{apiKeyId}" then you don't need to forward it into osm.js

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

Message ID: <openstreetmap/openstreetmap-website/pull/4042/review/2977215785 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250701/c245b73c/attachment.htm>


More information about the rails-dev mailing list