Leaflet - Web Mercator grid

Leaflet map using Web Mercator tile grid. Vector tiles styled with GL JSON.

HTML:

<div id='map'></div>

Javascript:

var map = L.map('map').setView([0, 0], 1);
var gl = L.maplibreGL({
    style: location.origin + '/natural-earth-countries-style.json'
}).addTo(map);

Header:

<!-- Leaflet -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>

<!-- maplibre-gl-leaflet -->
<link href="https://unpkg.com/maplibre-gl@4.1.3/dist/maplibre-gl.css" rel='stylesheet' />
<script src="https://unpkg.com/maplibre-gl@4.1.3/dist/maplibre-gl.js"></script>
<script src="https://unpkg.com/@maplibre/maplibre-gl-leaflet@0.0.20/leaflet-maplibre-gl.js"></script>