<p></p>
<p><b>@1ec5</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6504#discussion_r2504844800">app/assets/javascripts/dashboard.js</a>:</p>
<pre style='color:#555'>> +    map = new maplibregl.Map({
+      container: "map",
+      style: {
+        version: 8,
+        name: "OSM Raster",
+        sources: {
+          osm: {
+            type: "raster",
+            tiles: [
+              "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
+            ],
+            tileSize: 256,
+            maxzoom: 19,
+            attribution: "© OpenStreetMap contributors"
+          }
+        },
+        layers: [
+          {
+            id: "osm",
+            type: "raster",
+            source: "osm"
+          }
+        ]
+      },
</pre>
<p dir="auto">Long-term, we’ll probably want a system for centralizing style configuration like we have for layers on the main slippy map:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/blob/9ff2103e60832de0f45c993fda22e4ca51e5303b/app/assets/javascripts/leaflet.maptiler.js#L4">https://github.com/openstreetmap/openstreetmap-website/blob/9ff2103e60832de0f45c993fda22e4ca51e5303b/app/assets/javascripts/leaflet.maptiler.js#L4</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6504#pullrequestreview-3435528733">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNJMC6FRD47DJWXI2333TNPNAVCNFSM6AAAAACLKBT5BCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTIMZVGUZDQNZTGM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPD2RTPJA4BNZBA5ED33TNPNA5CNFSM6AAAAACLKBT5BCWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTWMYYBB2.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6504/review/3435528733</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6504#pullrequestreview-3435528733",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6504#pullrequestreview-3435528733",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>