refactor: simplify earth bgp fallback and geography helpers
This commit is contained in:
@@ -29,8 +29,6 @@ export const PATHS = {
|
||||
bgpApi: '/api/v1/visualization/geo/bgp-anomalies',
|
||||
bgpIncidentsApi: '/api/v1/visualization/geo/bgp-incidents',
|
||||
bgpCollectorsApi: '/api/v1/visualization/geo/bgp-collectors',
|
||||
geoJSON: './geo.json',
|
||||
landingPointsStatic: './landing-point-geo.geojson',
|
||||
};
|
||||
|
||||
// Cable colors mapping
|
||||
@@ -83,8 +81,6 @@ export const BGP_CONFIG = {
|
||||
dimmedScale: 0.92,
|
||||
pulseSpeed: 0.0045,
|
||||
collectorPulseSpeed: 0.0024,
|
||||
eventHubAltitudeOffset: 7.2,
|
||||
eventHubScale: 4.8,
|
||||
regionScale: 11.5,
|
||||
normalPulseAmplitude: 0.08,
|
||||
lockedPulseAmplitude: 0.28,
|
||||
@@ -135,8 +131,6 @@ export const BGP_CONFIG = {
|
||||
lockedNeutralColor: 0xd8e4ed,
|
||||
dimmedColor: 0x7d8ca3,
|
||||
},
|
||||
eventHubColor: 0x8af5ff,
|
||||
linkColor: 0x54d2ff,
|
||||
regionColor: 0x2dd4bf,
|
||||
eventRingScaleA: 2.5,
|
||||
eventRingScaleB: 3.4,
|
||||
|
||||
Reference in New Issue
Block a user