shithub: map

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

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

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

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