Skip to content

Commit

Permalink
chore: updated demos for whole planet pmtiles files
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Jul 11, 2024
1 parent 06f624d commit 9328121
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion demo/contourlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function run () {

// display the layer by curling the pmtiles file and fitting it with the stylesheet
let layer = protomapsL.leafletLayer({
url:'http://127.0.0.1:8081/contourlines-france.pmtiles',
url:'http://127.0.0.1:8081/contourlines.pmtiles',
paintRules,
labelRules,
}).addTo(map)
Expand Down
4 changes: 3 additions & 1 deletion demo/openmaptiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ async function run () {
...rules,
//debug: true,
//levelDiff: 2,
backgroundColor
backgroundColor,
maxDataZoom: 14,
maxNativeZoom: 18
})
layer.addTo(map)
map.on("click", (ev) => {
Expand Down
2 changes: 1 addition & 1 deletion demo/osm-boundaries.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function run () {
}

let layer = protomapsL.leafletLayer({
url:'http://127.0.0.1:8081/osm-boundaries-africa.pmtiles',
url:'http://127.0.0.1:8081/osm-boundaries.pmtiles',
paintRules,
labelRules,
}).addTo(map)
Expand Down
9 changes: 0 additions & 9 deletions demo/protomaps-leaflet.min.js

This file was deleted.

0 comments on commit 9328121

Please sign in to comment.