shithub: map

ref: 726126c176ac091ac28a14ae5efcded255dac71b
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);

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

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

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