cleanup example

This commit is contained in:
Brandon Liu
2022-11-03 15:10:51 +08:00
parent 9385c69326
commit e6218dd4f9

View File

@@ -26,7 +26,6 @@
<body> <body>
<div id="map"></div> <div id="map"></div>
<div id="overlay"> <div id="overlay">
Foo bar baz
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
let protocol = new pmtiles.Protocol(); let protocol = new pmtiles.Protocol();
@@ -40,9 +39,6 @@
document.getElementById("overlay").innerHTML = `<a href="${URL}">${URL}</a> (${formatBytes(length)})`; document.getElementById("overlay").innerHTML = `<a href="${URL}">${URL}</a> (${formatBytes(length)})`;
}) })
const map = new maplibregl.Map({ const map = new maplibregl.Map({
container: 'map', container: 'map',
zoom: 0, zoom: 0,