-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor instantiation, vector layers
* Order fields according to the spec * Remove builder pattern because `TileJSON` is writable * Add `other` fields for any unknown fields in root and vector layers * Restructure instantiation: * use `new(source)` or `new_ext(sources, version)` to create `TileJSON` * use `set_missing_defaults()` to replace all missing values with their defaults (only if the spec defines it) * Remove `id` field because it is not supported by the spec
- Loading branch information
Showing
3 changed files
with
338 additions
and
227 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
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
Oops, something went wrong.