https://github.com/mapbox/tippecanoe
Raw File
Tip revision: f920c05c750a2471f2877cb845a503af9be3b9e4 authored by Eric Fischer on 05 May 2016, 21:55:52 UTC
Merge pull request #241 from mapbox/save-polygons
Tip revision: f920c05
projection.hpp
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);
back to top