Revert "fix(layers): unhide sanctions layer on flat map"

This reverts commit 00dac33593.
This commit is contained in:
Elie Habib
2026-03-25 21:48:46 +04:00
parent 00dac33593
commit b1c962668f

View File

@@ -59,7 +59,7 @@ export const LAYER_REGISTRY: Record<keyof MapLayers, LayerDefinition> = {
gpsJamming: def('gpsJamming', '&#128225;', 'gpsJamming', 'GPS Jamming', ['flat', 'globe'], _desktop ? 'locked' : undefined),
ciiChoropleth: def('ciiChoropleth', '&#127758;', 'ciiChoropleth', 'CII Instability', ['flat'], _desktop ? 'enhanced' : undefined),
dayNight: def('dayNight', '&#127763;', 'dayNight', 'Day/Night', ['flat']),
sanctions: def('sanctions', '&#128683;', 'sanctions', 'Sanctions', ['flat']),
sanctions: def('sanctions', '&#128683;', 'sanctions', 'Sanctions', []),
startupHubs: def('startupHubs', '&#128640;', 'startupHubs', 'Startup Hubs'),
techHQs: def('techHQs', '&#127970;', 'techHQs', 'Tech HQs'),
accelerators: def('accelerators', '&#9889;', '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.';