mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
Use a neutral compact switch codec and clarify provider size limits
This commit is contained in:
1 parent
fbe118aab9
commit
3ba8c6d61b
11 files changed
+127
-98
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { normalizeProviderSwitches } from '../layers/streetLevel/providerSwitches.js';
|
||||
import { normalizeIdSwitches } from './idSwitches.js';
|
||||
import reservationRows from './layerStateTokenReservations.json' with { type: 'json' };
|
||||
|
||||
const VALID_DISPOSITIONS = new Set([
|
||||
@@ -418,9 +418,9 @@ const OPTION_GROUPS = Object.freeze({
|
||||
key: 'providerSwitches',
|
||||
token: 'r',
|
||||
defaultValue: '',
|
||||
normalize: normalizeProviderSwitches,
|
||||
encode: normalizeProviderSwitches,
|
||||
decode: normalizeProviderSwitches,
|
||||
normalize: (value) => normalizeIdSwitches(value, ['mapillary']),
|
||||
encode: normalizeIdSwitches,
|
||||
decode: (value) => normalizeIdSwitches(value, ['mapillary']),
|
||||
}),
|
||||
enumOption('pano', 'p', 'all', ['all', 'pano', 'flat'], {
|
||||
all: 'a',
|
||||
|
||||
Reference in new issue
Block a user