customRasterBasemaps
fun customRasterBasemaps(resolveLocalArchive: (String) -> String? = { null }): List<Basemap.Raster>(source)
The user's own tile sources, as MapLibre basemaps.
Every map that offers a basemap menu shows these, so a source added once appears in all of them — on every platform, since the store this reads is common code.
Parameters
resolveLocalArchive
Turns a stored file:// URI into an absolute path, or returns null when the archive is gone or this platform cannot open one. Only Android supplies it: there is no file picker elsewhere yet, and the desktop renderer aborts the process on the native MBTiles source rather than failing softly.