@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/2977215...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to