replace {{token}} with {token}, and %d/%d/%d with {z}/{x}/{y}
refs https://github.com/mapbox/mapbox-gl-style-spec/pull/87
This commit is contained in:
2
test/fixtures/styles/0.style.json
vendored
2
test/fixtures/styles/0.style.json
vendored
@@ -3,7 +3,7 @@
|
||||
"sources": {
|
||||
"mapbox": {
|
||||
"type": "vector",
|
||||
"url": "tiles/%d-%d-%d.vector.pbf",
|
||||
"url": "tiles/{z}-{x}-{y}.vector.pbf",
|
||||
"tileSize": 512,
|
||||
"maxZoom": 14
|
||||
}
|
||||
|
||||
2
test/fixtures/styles/1.style.json
vendored
2
test/fixtures/styles/1.style.json
vendored
@@ -3,7 +3,7 @@
|
||||
"sources": {
|
||||
"mapbox": {
|
||||
"type": "vector",
|
||||
"url": "tiles/%d-%d-%d.vector.pbf",
|
||||
"url": "tiles/{z}-{x}-{y}.vector.pbf",
|
||||
"tileSize": 512,
|
||||
"maxZoom": 14
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user