gchar *uri = _make_uri(self, tile);
gchar *tilep = gis_tile_get_path(tile);
gchar *local = g_strdup_printf("%s%s", tilep, self->extension);
+ mode = GIS_ONCE;
gchar *path = gis_http_fetch(self->http, uri, local,
mode, callback, user_data);
g_free(uri);
const gchar *uri_format, const gchar *prefix,
const gchar *extension, gint width, gint height)
{
+ g_debug("GisWms: new - %s", uri_prefix);
GisWms *self = g_new0(GisWms, 1);
self->http = gis_http_new(prefix);
self->uri_prefix = g_strdup(uri_prefix);
void gis_wms_free(GisWms *self)
{
+ g_debug("GisWms: free - %s", self->uri_prefix);
gis_http_free(self->http);
g_free(self->uri_prefix);
g_free(self->uri_layer);