:right-sidebar: True TileDownloader =================================================================== .. currentmodule:: gi.repository.Shumate .. class:: TileDownloader(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Shumate.DataSource`, :class:`~gi.repository.GObject.Object` A :obj:`~gi.repository.Shumate.DataSource` that asynchronously downloads tiles from an online service using a given template. It contains an internal :obj:`~gi.repository.Shumate.FileCache` to cache the tiles on the system. Constructors ------------ .. rst-class:: interim-class .. class:: TileDownloader :no-index: .. classmethod:: new(url_template: str) -> ~gi.repository.Shumate.TileDownloader Creates a new :obj:`~gi.repository.Shumate.TileDownloader` that fetches tiles from an API and caches them on disk. See :obj:`~gi.repository.Shumate.TileDownloader.props.url_template` for the format of the URL template. :param url_template: a URL template to fetch tiles from Properties ---------- .. rst-class:: interim-class .. class:: TileDownloader :no-index: .. attribute:: props.url_template :type: str The type of the None singleton.