mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-03 08:55:41 +02:00
Add an option to specify the size of tiny polygons
This commit is contained in:
@@ -306,6 +306,12 @@ std::string stringify_strategies(std::vector<strategy> const &strategies) {
|
||||
any = true;
|
||||
}
|
||||
|
||||
if (strategies[i].tiny_polygons > 0) {
|
||||
state.json_write_string("tiny_polygons");
|
||||
state.json_write_number(strategies[i].tiny_polygons);
|
||||
any = true;
|
||||
}
|
||||
|
||||
if (strategies[i].tile_size > 0) {
|
||||
state.json_write_string("tile_size_desired");
|
||||
state.json_write_number(strategies[i].tile_size);
|
||||
|
||||
Reference in New Issue
Block a user