CustomTileSourcesMenuItem

fun CustomTileSourcesMenuItem(modifier: Modifier = Modifier, onAddLocalMbTiles: () -> Unit? = null)(source)

The basemap menu's entry for editing custom raster tile sources.

Common code, so the desktop map offers it too: the editor and the store behind it are both in feature/map now, which is what previously kept this in the Android flavour.

Parameters

onAddLocalMbTiles

Opens a file picker for an MBTiles archive; null on a platform that has none, which hides the option rather than offering something that cannot work.