mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
allow status code 200 for gh pages
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<div id="map"></div>
|
||||
<script>
|
||||
const map = L.map('map',{maxZoom:4}).setView([0,0],0)
|
||||
const p = new pmtiles.PMTiles('osm_carto.pmtiles')
|
||||
const p = new pmtiles.PMTiles('osm_carto.pmtiles',{allow_200:true})
|
||||
p.leafletLayer({attribution:'© <a href="https://openstreetmap.org">OpenStreetMap</a> contributors'}).addTo(map)
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user