Preserve custom Street Level provider switches in shared state

This commit is contained in:
Sameh Khamis committed 2026-10-09 17:53:47 -07:00
1 parent 3b840ebdf3
commit 7b1b2df764
11 files changed
+238 -9

No files matched your search

+7 -2
View File
@@ -24,8 +24,13 @@ all imagery providers. Without that option, Mapillary is registered only when
with a truthful no-provider state, preserving layer controls and share tokens.
Malformed selected sources and provider definitions still fail validation.
An explicit provider list bypasses the unused Mapillary source, including its
validation. Layer share identities are preserved; custom provider switches require
a corresponding serialization contract.
validation. Layer share identities and the legacy Mapillary `m` option remain
stable. Custom provider switches use the `r` option, sorted by provider ID rather
than registration order, and round-trip through links and stored state. A receiver
applies only switches for its registered providers; absent custom switches leave
current defaults unchanged. The custom switch field is bounded to 256 characters;
provider registration rejects compositions that cannot fit rather than truncating
identities. Existing whole-link size limits still apply.
## God's Eye View in conversations — October 2, 2026