Properties
URIs of imported map layers the user has toggled off; a layer is visible unless its URI is in this set.
Per-layer opacity, each entry encoded as key|:|opacity. A layer absent from the set is fully opaque.
Every map filter, as one value — the same shape, and for the same reason, as UiPrefs.nodeFilters. The map keeps its own copy of the node-list vocabulary: filtering the map to routers is not a statement about the contact list.
Persisted network (URL-backed) map layers, each encoded as id|:|name|:|uri.
Functions
Load the complete persisted camera, or null before the map has ever been positioned.
Persisted hiddenLayerUrls; suspends for the first disk load to avoid a cold-start empty default.
Persisted mapStyle; suspends for the first disk load to avoid a cold-start default.
Persisted networkMapLayers; suspends for the first disk load to avoid a cold-start empty default.
Persist the F-Droid map camera as one atomic preference update.
Atomically mutate hiddenLayerUrls; transform runs against the persisted value, avoiding lost updates.
Atomically mutate layerOpacity; transform runs against the persisted value, avoiding lost updates.
Applies transform to the stored filters. Read-modify-write happens inside the store's own transaction.
Atomically mutate networkMapLayers; transform runs against the persisted value, avoiding lost updates.