shithub: map

ref: 16db494271a75689ee7e6da9ff3d3d20f0a3fd2b
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, ...);