mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
Persist explicit provider toggles through the layer state coordinator
This commit is contained in:
1 parent
3ba8c6d61b
commit
eacfc1b06a
7 files changed
+152
-23
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { normalizeIdSwitches } from './idSwitches.js';
|
||||
import { normalizeIdSwitches, patchRequestedIdSwitches } from './idSwitches.js';
|
||||
import reservationRows from './layerStateTokenReservations.json' with { type: 'json' };
|
||||
|
||||
const VALID_DISPOSITIONS = new Set([
|
||||
@@ -416,6 +416,7 @@ const OPTION_GROUPS = Object.freeze({
|
||||
booleanOption('mapillary', 'm', true),
|
||||
Object.freeze({
|
||||
key: 'providerSwitches',
|
||||
patchRequested: patchRequestedIdSwitches,
|
||||
token: 'r',
|
||||
defaultValue: '',
|
||||
normalize: (value) => normalizeIdSwitches(value, ['mapillary']),
|
||||
|
||||
Reference in new issue
Block a user