mapbox / node-mbtiles

mbtiles utility, renderer, and storage backend for tilelive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flipping method to translate XYZ to TMS right?

initialdmg opened this issue · comments

y = (1 << z) - 1 - y;

Why it is 1 << z but not 1 << (z - 1)? Cause i cannot load right tile using a mbtiles file connection.