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:
@@ -175,11 +175,11 @@ std::string format_commandline(int argc, char **argv) {
|
||||
|
||||
// for jsonpull to call from C
|
||||
char *dtoa_milo(double val) {
|
||||
std::string s = milo::dtoa_milo(val);
|
||||
char *dup = strdup(s.c_str());
|
||||
if (dup == NULL) {
|
||||
perror("strdup");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
return dup;
|
||||
std::string s = milo::dtoa_milo(val);
|
||||
char *dup = strdup(s.c_str());
|
||||
if (dup == NULL) {
|
||||
perror("strdup");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
return dup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user