TileDownloader#
Superclasses: DataSource, Object
A DataSource that asynchronously downloads tiles from an online
service using a given template.
It contains an internal FileCache to cache the tiles on the system.
Constructors#
- class TileDownloader
- classmethod new(url_template: str) TileDownloader#
Creates a new
TileDownloaderthat fetches tiles from an API and caches them on disk.See
url_templatefor the format of the URL template.- Parameters:
url_template – a URL template to fetch tiles from