X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fobjects%2Fgis-tile.h;h=e2b72524f53d430e4c12cf0746bccb809e905e4e;hp=98052c69abb821d4f7b2634891e59abc523f8f7d;hb=14c34a746fc94a9e5477d081275f04bd1c8b5d6d;hpb=9bdbbfd22cc893880cd5f7671917acf15f5e82e5 diff --git a/src/objects/gis-tile.h b/src/objects/gis-tile.h index 98052c6..e2b7252 100644 --- a/src/objects/gis-tile.h +++ b/src/objects/gis-tile.h @@ -38,10 +38,11 @@ struct _GisTile { /* Pointer to the tile data */ gpointer data; + /* Pointer to the tile data */ + gint zindex; + /* North,South,East,West limits */ - struct { - gdouble n,s,e,w; - } edge; + GisBBox edge; /* Pointers to parent/child nodes */ GisTile *parent; @@ -112,10 +113,9 @@ GisTile *gis_tile_new(GisTile *parent, gchar *gis_tile_get_path(GisTile *child); /* Update a root tile */ -/* Based on eye distance (lat,lon,elev) */ -void gis_tile_update(GisTile *root, +/* Based on eye distance */ +void gis_tile_update(GisTile *root, GisPoint *eye, gdouble res, gint width, gint height, - gdouble lat, gdouble lon, gdouble elev, GisTileLoadFunc load_func, gpointer user_data); /* Find the leaf tile containing lat-lon */