We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 748ed9a commit ce10073Copy full SHA for ce10073
starter-template.html examples/local.htmlstarter-template.html renamed to examples/local.html
@@ -34,13 +34,13 @@
34
maplibregl.addProtocol("pmtiles", protocol.tile);
35
36
// Load and modify the style to use local PMTiles
37
- fetch('styles/style.json')
+ fetch('../styles/style.json')
38
.then(response => response.json())
39
.then(style => {
40
// Replace the source URL with the local PMTiles file
41
style.sources.protomaps = {
42
type: "vector",
43
- url: "pmtiles://tiles/monaco.pmtiles",
+ url: "pmtiles://../tiles/monaco.pmtiles",
44
attribution: style.sources.protomaps.attribution
45
};
46
0 commit comments