mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 01:45:41 +02:00
Fix bug that would always index for z14 regardless of actual max zoom
This commit is contained in:
@@ -402,7 +402,7 @@ void read_json(FILE *f, char *fname, char *layername, int maxzoom, int minzoom,
|
|||||||
serialize_string(metafile, metaval[i], &fpos, fname, jp);
|
serialize_string(metafile, metaval[i], &fpos, fname, jp);
|
||||||
}
|
}
|
||||||
|
|
||||||
int z = 14;
|
int z = maxzoom;
|
||||||
|
|
||||||
unsigned cx = bbox[0] / 2 + bbox[2] / 2;
|
unsigned cx = bbox[0] / 2 + bbox[2] / 2;
|
||||||
unsigned cy = bbox[1] / 2 + bbox[3] / 2;
|
unsigned cy = bbox[1] / 2 + bbox[3] / 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user