mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
Revert "fix(layers): unhide sanctions layer on flat map"
This reverts commit 00dac33593.
This commit is contained in:
@@ -59,7 +59,7 @@ export const LAYER_REGISTRY: Record<keyof MapLayers, LayerDefinition> = {
|
||||
gpsJamming: def('gpsJamming', '📡', 'gpsJamming', 'GPS Jamming', ['flat', 'globe'], _desktop ? 'locked' : undefined),
|
||||
ciiChoropleth: def('ciiChoropleth', '🌎', 'ciiChoropleth', 'CII Instability', ['flat'], _desktop ? 'enhanced' : undefined),
|
||||
dayNight: def('dayNight', '🌓', 'dayNight', 'Day/Night', ['flat']),
|
||||
sanctions: def('sanctions', '🚫', 'sanctions', 'Sanctions', ['flat']),
|
||||
sanctions: def('sanctions', '🚫', 'sanctions', 'Sanctions', []),
|
||||
startupHubs: def('startupHubs', '🚀', 'startupHubs', 'Startup Hubs'),
|
||||
techHQs: def('techHQs', '🏢', 'techHQs', 'Tech HQs'),
|
||||
accelerators: def('accelerators', '⚡', 'accelerators', 'Accelerators'),
|
||||
@@ -91,7 +91,7 @@ const VARIANT_LAYER_ORDER: Record<MapVariant, Array<keyof MapLayers>> = {
|
||||
'ucdpEvents', 'displacement', 'climate', 'weather',
|
||||
'outages', 'cyberThreats', 'natural', 'fires',
|
||||
'waterways', 'economic', 'minerals', 'gpsJamming',
|
||||
'satellites', 'ciiChoropleth', 'sanctions', 'dayNight', 'webcams', 'weatherRadar',
|
||||
'satellites', 'ciiChoropleth', 'dayNight', 'webcams', 'weatherRadar',
|
||||
],
|
||||
tech: [
|
||||
'startupHubs', 'techHQs', 'accelerators', 'cloudRegions',
|
||||
@@ -102,7 +102,7 @@ const VARIANT_LAYER_ORDER: Record<MapVariant, Array<keyof MapLayers>> = {
|
||||
'stockExchanges', 'financialCenters', 'centralBanks', 'commodityHubs',
|
||||
'gulfInvestments', 'tradeRoutes', 'cables', 'pipelines',
|
||||
'outages', 'weather', 'economic', 'waterways',
|
||||
'natural', 'cyberThreats', 'sanctions', 'dayNight', 'weatherRadar',
|
||||
'natural', 'cyberThreats', 'dayNight', 'weatherRadar',
|
||||
],
|
||||
happy: [
|
||||
'positiveEvents', 'kindness', 'happiness',
|
||||
@@ -112,11 +112,15 @@ const VARIANT_LAYER_ORDER: Record<MapVariant, Array<keyof MapLayers>> = {
|
||||
'miningSites', 'processingPlants', 'commodityPorts', 'commodityHubs',
|
||||
'minerals', 'pipelines', 'waterways', 'tradeRoutes',
|
||||
'ais', 'economic', 'fires', 'climate',
|
||||
'natural', 'weather', 'outages', 'sanctions', 'dayNight', 'weatherRadar',
|
||||
'natural', 'weather', 'outages', 'dayNight', 'weatherRadar',
|
||||
],
|
||||
};
|
||||
|
||||
const SVG_ONLY_LAYERS: Partial<Record<MapVariant, Array<keyof MapLayers>>> = {};
|
||||
const SVG_ONLY_LAYERS: Partial<Record<MapVariant, Array<keyof MapLayers>>> = {
|
||||
full: ['sanctions'],
|
||||
finance: ['sanctions'],
|
||||
commodity: ['sanctions'],
|
||||
};
|
||||
|
||||
const I18N_PREFIX = 'components.deckgl.layers.';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user