mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
update example, remove allow_200 option
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
<div id="map"></div>
|
<div id="map"></div>
|
||||||
<script>
|
<script>
|
||||||
const map = L.map('map',{maxZoom:4}).setView([0,0],0)
|
const map = L.map('map',{maxZoom:4}).setView([0,0],0)
|
||||||
const p = new pmtiles.PMTiles('osm_carto.pmtiles',{allow_200:true})
|
const p = new pmtiles.PMTiles('osm_carto.pmtiles')
|
||||||
p.leafletLayer({attribution:'© <a href="https://openstreetmap.org">OpenStreetMap</a> contributors'}).addTo(map)
|
p.leafletLayer({attribution:'© <a href="https://openstreetmap.org">OpenStreetMap</a> contributors'}).addTo(map)
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user