| Top |
void maps_layer_register_type (const char *label,guint id,VikMapsLayer_MapType *map_type);
typedef struct {
guint16 uniq_id;
guint16 tilesize_x;
guint16 tilesize_y;
guint drawmode;
gboolean (*coord_to_mapcoord) ( const VikCoord *src, gdouble xzoom, gdouble yzoom, MapCoord *dest );
void (*mapcoord_to_center_coord) ( MapCoord *src, VikCoord *dest );
int (*download) ( MapCoord *src, const gchar *dest_fn, void *handle );
void *(*download_handle_init) ( );
void (*download_handle_cleanup) ( void *handle );
/* TODO: constant size (yay!) */
} VikMapsLayer_MapType;