tour/dist/index.min.js"></script>
<script type="module">
import { Protocol } from 'https://cdn.skypack.dev/pmtiles'
maplibregl.addProtocol('pmtiles', (new Protocol()).tile)

const demSource = new mlcontour.DemSource({
  url: "https://elevation-tiles-prod.s3.amazonaws.com/terrarium/{z}/{x}/{y}.png",
  maxzoom: 12
})
demSource.setupMaplibre(maplibregl)

document.addEventListener('DOMContentLoaded', function () {
  const urlParams = new URLSearchParams(window.location.search)

  const map = new maplibregl.Map(