create_cached_source


Description:

[ Version ( since = "0.6" ) ]
public unowned MapSource create_cached_source (string id)

Creates a cached map source.

Parameters:

this

the Factory

id

the wanted map source id

Returns:

a ready to use MapSourceChain consisting of MemoryCache, FileCache, MapSource matching the given name, and an error tile source created with create_error_source. Returns NULL if the source with the given name doesn't exist.




2022 vala-language.org