mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
cleanup example
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user