Skip to content

Commit

Permalink
fix: 🐛 change tilejson scheme to xyz by default
Browse files Browse the repository at this point in the history
BREAKING CHANGE: TileJSON scheme is XYZ by default

Closes: #29
  • Loading branch information
stepankuzmin committed Oct 26, 2019
1 parent 5a807e4 commit aecb7ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/function_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Source for FunctionSource {
fn get_tilejson(&self) -> Result<TileJSON, io::Error> {
let mut tilejson_builder = TileJSONBuilder::new();

tilejson_builder.scheme("tms");
tilejson_builder.scheme("xyz");
tilejson_builder.name(&self.id);
tilejson_builder.tiles(vec![]);

Expand Down
2 changes: 1 addition & 1 deletion src/table_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl Source for TableSource {
fn get_tilejson(&self) -> Result<TileJSON, io::Error> {
let mut tilejson_builder = TileJSONBuilder::new();

tilejson_builder.scheme("tms");
tilejson_builder.scheme("xyz");
tilejson_builder.name(&self.id);

Ok(tilejson_builder.finalize())
Expand Down

0 comments on commit aecb7ce

Please sign in to comment.