shithub: map

ref: 9fa9d91d1abbe4180632b98db65b872c34765f78
dir: /fns.h/

View raw version
GBundle getbundle(GPos pos, int zoom, Point *offset);
GPos getlocation(void);
void tile2gps(double *x, double *y, int z);

int parsepos(char *data, int ndata, GPos *pos, int *zoom);

int handlegeojson(char *data, int ndata);
void rendergeojson(GBundle pos);
void cleargeojson(void);

void lockmapimage(void);
void unlockmapimage(void);

typedef void (*ImageUpdated)(void);
void requestimage(GBundle from, ImageUpdated);

void debugprint(char *fmt, ...);