Shrink the geometry by shaving off bits below the maxzoom tile resolution

This commit is contained in:
Eric Fischer
2015-06-18 14:16:16 -07:00
parent a1d3ecf9bb
commit a185073f0a
4 changed files with 12 additions and 7 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ drawvec decode_geometry(char **meta, int z, unsigned tx, unsigned ty, int detail
deserialize_long_long(meta, &dx);
deserialize_long_long(meta, &dy);
wx += dx;
wy += dy;
wx += dx << geometry_scale;
wy += dy << geometry_scale;
long long wwx = wx;
long long wwy = wy;