-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11296 from CesiumGS/terrain-availability
Terrain availability race condition
- Loading branch information
Showing
5 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
Specs/Data/CesiumTerrainTileJson/ParentAvailability.tile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"tilejson": "2.1.0", | ||
"format" : "quantized-mesh-1.0", | ||
"version" : "1.0.0", | ||
"scheme" : "tms", | ||
"attribution" : "This amazing data is courtesy The Amazing Data Source!", | ||
"tiles" : [ | ||
"{z}/{x}/{y}.terrain?v={version}" | ||
], | ||
"extensions": [ | ||
"watermask", | ||
"metadata", | ||
"octvertexnormals" | ||
], | ||
"metadataAvailability": 10, | ||
"minzoom": 0, | ||
"maxzoom": 13, | ||
"available" : [ | ||
[ | ||
{ | ||
"startX" : 0, | ||
"startY" : 0, | ||
"endX" : 1, | ||
"endY" : 0 | ||
} | ||
], | ||
[ | ||
{ | ||
"startX" : 0, | ||
"startY" : 0, | ||
"endX" : 3, | ||
"endY" : 1 | ||
} | ||
] | ||
] | ||
} |
38 changes: 38 additions & 0 deletions
38
Specs/Data/CesiumTerrainTileJson/ParentUrlAvailability.tile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"tilejson": "2.1.0", | ||
"format" : "quantized-mesh-1.0", | ||
"version" : "1.0.0", | ||
"scheme" : "tms", | ||
"attribution" : "This is a child tileset!", | ||
"tiles" : [ | ||
"{z}/{x}/{y}.terrain?v={version}" | ||
], | ||
"extensions" : [ | ||
"watermask", | ||
"metadata", | ||
"octvertexnormals" | ||
], | ||
"metadataAvailability": 10, | ||
"minzoom": 0, | ||
"maxzoom": 13, | ||
"available" : [ | ||
[ | ||
{ | ||
"startX" : 0, | ||
"startY" : 0, | ||
"endX" : 1, | ||
"endY" : 0 | ||
} | ||
], | ||
[ | ||
{ | ||
"startX" : 0, | ||
"startY" : 0, | ||
"endX" : 2, | ||
"endY" : 1 | ||
} | ||
] | ||
], | ||
"parentUrl": "./" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters