selection
Null until both preferences have been read from disk once.
MapPrefs.mapStyle and MapTileProviderPrefs.selectedCustomTileProviderId are eager StateFlows that start at a hardcoded default and only take on the persisted value after their first disk read, so a map composed before that read opens on the default basemap and swaps moments later; a changed base style unloads the live style under map content still attaching to it. Each flow's replayed current value is dropped for the same reason: it can still be the default.