Class
ShumateTileDownloader
Description [src]
final class Shumate.TileDownloader : Shumate.DataSource {
/* No available fields */
}
A ShumateDataSource
that asynchronously downloads tiles from an online
service using a given template.
It contains an internal ShumateFileCache
to cache the tiles on the system.
Constructors
shumate_tile_downloader_new
Creates a new ShumateTileDownloader
that fetches tiles from an API and
caches them on disk.
Instance methods
Methods inherited from ShumateDataSource (2)
shumate_data_source_get_tile_data_async
Gets the data for the tile at the given coordinates.
shumate_data_source_get_tile_data_finish
Gets the final result of a request started with shumate_data_source_get_tile_data_async().
Properties
Shumate.TileDownloader:url-template
A template for construting the URL to download a tile from.
Signals
Signals inherited from ShumateDataSource (1)
Shumate.DataSource::received-data
Emitted when data is received for any tile. This includes any intermediate steps, such as data from the file cache, as well as the final result.
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.