forked from MapComplete/MapComplete
Feature(offline): rework to use a protocol handler instead of a service worker to intercept as service workers don't always work, simplify code, add option to auto-download
This commit is contained in:
parent
ca819cf8a6
commit
44748051dd
11 changed files with 193 additions and 293 deletions
|
@ -7,7 +7,7 @@
|
|||
"attribution": "<a href=\"https://github.com/protomaps/basemaps\">Protomaps</a> © <a href=\"https://openstreetmap.org\">OpenStreetMap</a>",
|
||||
"type": "vector",
|
||||
"tiles": [
|
||||
"https://api.protomaps.com/tiles/v4/{z}/{x}/{y}.mvt?key=2af8b969a9e8b692&auto=true"
|
||||
"pmtilesoffl://https://api.protomaps.com/tiles/v4/{z}/{x}/{y}.mvt?key=2af8b969a9e8b692"
|
||||
],
|
||||
"maxzoom": 15,
|
||||
"minzoom": 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue