This adds support for using cached styles that are stale. They're treated like changing styles; when the refreshed style changed compared to the one we've already had, we're swapping out the entire style, which might cause a slight flicker.
15 lines
316 B
JSON
15 lines
316 B
JSON
{
|
|
"bounds": [ -180, -85.0511, 180, 85.0511 ],
|
|
"center": [ 0, 0, 0 ],
|
|
"description": "",
|
|
"format": "pbf",
|
|
"id": "streets",
|
|
"maskLevel": 8,
|
|
"maxzoom": 15,
|
|
"minzoom": 0,
|
|
"name": "Streets",
|
|
"scheme": "xyz",
|
|
"tilejson": "2.0.0",
|
|
"tiles": [ "asset://test/fixtures/stale/{z}-{x}-{y}.vector.pbf" ]
|
|
}
|