Skip to content

Commit aecb7ce

Browse files
committed
fix: 🐛 change tilejson scheme to xyz by default
BREAKING CHANGE: TileJSON scheme is XYZ by default Closes: #29
1 parent 5a807e4 commit aecb7ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/function_source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl Source for FunctionSource {
2525
fn get_tilejson(&self) -> Result<TileJSON, io::Error> {
2626
let mut tilejson_builder = TileJSONBuilder::new();
2727

28-
tilejson_builder.scheme("tms");
28+
tilejson_builder.scheme("xyz");
2929
tilejson_builder.name(&self.id);
3030
tilejson_builder.tiles(vec![]);
3131

src/table_source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl Source for TableSource {
3434
fn get_tilejson(&self) -> Result<TileJSON, io::Error> {
3535
let mut tilejson_builder = TileJSONBuilder::new();
3636

37-
tilejson_builder.scheme("tms");
37+
tilejson_builder.scheme("xyz");
3838
tilejson_builder.name(&self.id);
3939

4040
Ok(tilejson_builder.finalize())

0 commit comments

Comments
 (0)