mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Drag projection math into C++
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "projection.h"
|
|
||||||
|
extern "C" {
|
||||||
|
#include "projection.h"
|
||||||
|
}
|
||||||
|
|
||||||
// http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames
|
// http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames
|
||||||
void latlon2tile(double lat, double lon, int zoom, long long *x, long long *y) {
|
void latlon2tile(double lat, double lon, int zoom, long long *x, long long *y) {
|
||||||
Reference in New Issue
Block a user