Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create tileset with the tiles.json path #3404

Closed
lilleyse opened this issue Jan 11, 2016 · 2 comments
Closed

Create tileset with the tiles.json path #3404

lilleyse opened this issue Jan 11, 2016 · 2 comments

Comments

@lilleyse
Copy link
Contributor

For #3241

Currently when you create a Cesium3DTileset you pass in a url to the tileset folder. The code assumes the tiles json file is called tiles.json, which may not be true in all cases.

We should support options.url to be either a directory of the tileset or a path to the tiles.json file. In either case, this._url should stay the directory of the tileset and this._tilesJson should stay the path to the tiles.json file.

This will help clean up the tileset tests which can't reuse files due to this limitation.

@TomPed
Copy link
Contributor

TomPed commented Jan 14, 2016

The url that is passed in to the tileset folder is the options.url?

@lilleyse
Copy link
Contributor Author

Yeah options.url refers to the url of the tileset, which usually is the directory but in this PR it should also be able to be a path to a .json file.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants