mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
@@ -1265,8 +1265,8 @@ void *run_prefilter(void *v) {
|
||||
// Offset from tile coordinates back to world coordinates
|
||||
unsigned sx = 0, sy = 0;
|
||||
if (rpa->z != 0) {
|
||||
sx = (long long) rpa->tx << (GLOBAL_DETAIL - rpa->z);
|
||||
sy = (long long) rpa->ty << (GLOBAL_DETAIL - rpa->z);
|
||||
sx = rpa->tx << (GLOBAL_DETAIL - rpa->z);
|
||||
sy = rpa->ty << (GLOBAL_DETAIL - rpa->z);
|
||||
}
|
||||
for (size_t i = 0; i < tmp_feature.geometry.size(); i++) {
|
||||
tmp_feature.geometry[i].x += sx;
|
||||
|
||||
Reference in New Issue
Block a user