tippecanoe/projection.hpp
2016-04-27 14:00:14 -07:00

5 lines
288 B
C++

void latlon2tile(double lat, double lon, int zoom, long long *x, long long *y);
void tile2latlon(long long x, long long y, int zoom, double *lat, double *lon);
unsigned long long encode(unsigned int wx, unsigned int wy);
void decode(unsigned long long index, unsigned *wx, unsigned *wy);