RasterRenderer.from_url


Description:

[ CCode ( has_construct_function = false ) ]
public RasterRenderer.from_url (string url_template)

Creates a new [class@RasterRenderer] that fetches tiles from the given URL using a [class@TileDownloader] data source.

Equivalent to:

```c g_autoptr(ShumateTileDownloader) source = shumate_tile_downloader_new (url_template); ShumateRasterRenderer *renderer = shumate_raster_renderer_new (source); ```

Parameters:

url_template

a URL template to fetch tiles from

Returns:

a newly constructed [class@RasterRenderer]