1 #ifndef _MAP_TILE_REPO_H
2 #define _MAP_TILE_REPO_H
7 /** This enumerated type defines the supported types of repositories. */
9 REPOTYPE_NONE, /* No URL set. */
10 REPOTYPE_XYZ, /* x=%d, y=%d, and zoom=%d */
11 REPOTYPE_XYZ_INV, /* zoom=%0d, x=%d, y=%d */
12 REPOTYPE_QUAD_QRST, /* t=%s (%s = {qrst}*) */
13 REPOTYPE_QUAD_ZERO, /* t=%0s (%0s = {0123}*) */
14 REPOTYPE_WMS /* "service=wms" */
17 /** Data regarding a map repository. */
18 typedef struct _RepoData RepoData;
24 guint view_zoom_steps;
33 RepoData *map_tile_repo_new(void);
34 RepoData *map_tile_repo_new_from_string(gchar *str);
35 void map_tile_repo_free(RepoData *rd);
36 void map_tile_repo_set_type(RepoData *rd);