mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
No need to pass all these feature components as separate arguments
This commit is contained in:
@@ -263,9 +263,11 @@ serial_feature deserialize_feature(std::string &geoms, unsigned z, unsigned tx,
|
||||
sf.has_id = false;
|
||||
if (sf.layer & (1 << FLAG_MINZOOM)) {
|
||||
deserialize_int(&cp, &sf.tippecanoe_minzoom);
|
||||
sf.has_tippecanoe_minzoom = true;
|
||||
}
|
||||
if (sf.layer & (1 << FLAG_MAXZOOM)) {
|
||||
deserialize_int(&cp, &sf.tippecanoe_maxzoom);
|
||||
sf.has_tippecanoe_maxzoom = true;
|
||||
}
|
||||
if (sf.layer & (1 << FLAG_ID)) {
|
||||
sf.has_id = true;
|
||||
|
||||
Reference in New Issue
Block a user