Track the desired tile size for each zoom level in tileset metadata (#7)

This commit is contained in:
Erica Fischer
2022-08-11 09:58:00 -07:00
committed by GitHub
parent c65d6938a4
commit 86f3e98c02
21 changed files with 41 additions and 19 deletions
+6
View File
@@ -306,6 +306,12 @@ std::string stringify_strategies(std::vector<strategy> const &strategies) {
any = true;
}
if (strategies[i].tile_size > 0) {
state.json_write_string("tile_size_desired");
state.json_write_number(strategies[i].tile_size);
any = true;
}
state.json_end_hash();
}
state.json_end_array();