shithub: map

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