+
- ${sat.name}
+ ${sat.name}
+ style="background:none; border:none; color: var(--accent-red); cursor:pointer; font-weight:bold; font-size:20px; padding: 0 5px;">✕
- | ${t('station.settings.satellites.latitude')}: | ${sat.lat.toFixed(2)}° |
- | ${t('station.settings.satellites.longitude')}: | ${sat.lon.toFixed(2)}° |
- | ${t('station.settings.satellites.speed')}: | ${speedStr} |
- | ${t('station.settings.satellites.altitude')}: | ${altitudeStr} |
- | ${t('station.settings.satellites.azimuth_elevation')}: | ${sat.azimuth}° / ${sat.elevation}° |
+
+
+
+ | ${t('station.settings.satellites.latitude')}: |
+ ${sat.lat.toFixed(2)}° |
+
+
+ | ${t('station.settings.satellites.longitude')}: |
+ ${sat.lon.toFixed(2)}° |
+
+
+ | ${t('station.settings.satellites.altitude')}: |
+ ${altitudeStr} |
+
+
+ | ${t('station.settings.satellites.speed')}: |
+ ${speedStr} |
+
+
+
+
+ | ${t('station.settings.satellites.azimuth_elevation')}: |
+ ${sat.azimuth}° / ${sat.elevation}° |
+
${
isVisible
? `
- | ${t('station.settings.satellites.range')}: | ${(sat.range * (isMetric ? 1 : km_to_miles_factor)).toFixed(0)} ${distanceUnitsStr} |
- | ${t('station.settings.satellites.rangeRate')}: | ${(sat.rangeRate * (isMetric ? 1 : km_to_miles_factor)).toFixed(2)} ${rangeRateUnitsStr} |
- | ${t('station.settings.satellites.dopplerFactor')}: | ${sat.dopplerFactor.toFixed(7)} |
+
+ | ${t('station.settings.satellites.range')}: |
+ ${(sat.range * (isMetric ? 1 : km_to_miles_factor)).toFixed(0)} ${distanceUnitsStr} |
+
+
+ | ${t('station.settings.satellites.rangeRate')}: |
+ ${(sat.rangeRate * (isMetric ? 1 : km_to_miles_factor)).toFixed(2)} ${rangeRateUnitsStr} |
+
+
+ | ${t('station.settings.satellites.dopplerFactor')}: |
+ ${sat.dopplerFactor.toFixed(7)} |
+
`
: ``
}
- | ${t('station.settings.satellites.mode')}: | ${sat.mode || 'N/A'} |
- ${sat.downlink ? `| ${t('station.settings.satellites.downlink')}: | ${sat.downlink} |
` : ''}
- ${sat.uplink ? `| ${t('station.settings.satellites.uplink')}: | ${sat.uplink} |
` : ''}
- ${sat.tone ? `| ${t('station.settings.satellites.tone')}: | ${sat.tone} |
` : ''}
- | ${t('station.settings.satellites.status')}: |
-
- ${isVisible ? `${t('station.settings.satellites.visible')}` : `${t('station.settings.satellites.belowHorizon')}`}
- |
+
+ | ${t('station.settings.satellites.status')}: |
+ ${isVisible ? `${t('station.settings.satellites.visible')}` : `${t('station.settings.satellites.belowHorizon')}`} |
+
+
+
+
+ | ${t('station.settings.satellites.mode')}: |
+ ${sat.mode || 'N/A'} |
-
- ${sat.notes ? `
${sat.notes}
` : ''}
+ ${sat.downlink ? `
| ${t('station.settings.satellites.downlink')}: | ${sat.downlink} |
` : ''}
+ ${sat.uplink ? `
| ${t('station.settings.satellites.uplink')}: | ${sat.uplink} |
` : ''}
+ ${sat.tone ? `
| ${t('station.settings.satellites.tone')}: | ${sat.tone} |
` : ''}
+
+
+
+ ${sat.notes ? `
${sat.notes}
` : ''}
`;
})
@@ -320,7 +354,7 @@ export const useLayer = ({ map, enabled, satellites, setSatellites, opacity, con
const EARTH_RADIUS = 6371;
const centralAngle = Math.acos(EARTH_RADIUS / (EARTH_RADIUS + sat.alt));
const footprintRadiusMeters = centralAngle * EARTH_RADIUS * 1000;
- const footColor = sat.isVisible === true ? '#00ff00' : '#00ffff';
+ const footColor = sat.isVisible === true ? 'rgba(0, 255, 0, 1)' : 'rgba(0, 255, 255, 1)';
replicatePoint(sat.lat, sat.lon).forEach((pos) => {
window.L.circle(pos, {
@@ -342,14 +376,14 @@ export const useLayer = ({ map, enabled, satellites, setSatellites, opacity, con
for (let i = 0; i < coords.length - 1; i++) {
const fade = i / coords.length;
window.L.polyline([coords[i], coords[i + 1]], {
- color: '#00ffff',
+ color: 'rgba(0, 255, 255, 1)',
weight: 6,
opacity: fade * 0.3 * globalOpacity,
lineCap: 'round',
interactive: false,
}).addTo(layerGroupRef.current);
window.L.polyline([coords[i], coords[i + 1]], {
- color: '#ffffff',
+ color: 'rgba(255, 255, 255, 1)',
weight: 2,
opacity: fade * globalOpacity,
lineCap: 'round',
@@ -358,7 +392,7 @@ export const useLayer = ({ map, enabled, satellites, setSatellites, opacity, con
}
} else {
window.L.polyline(coords, {
- color: '#00ffff',
+ color: 'rgba(0, 255, 255, 1)',
weight: 1,
opacity: 0.15 * globalOpacity,
dashArray: '5, 10',
@@ -371,7 +405,7 @@ export const useLayer = ({ map, enabled, satellites, setSatellites, opacity, con
const leadCoords = sat.leadTrack.map((p) => [p[0], p[1]]);
replicatePath(leadCoords).forEach((lCoords) => {
window.L.polyline(lCoords, {
- color: '#ffff00',
+ color: 'rgba(255, 255, 0, 1)',
weight: 3,
opacity: 0.8 * globalOpacity,
dashArray: '8, 12',
@@ -387,8 +421,8 @@ export const useLayer = ({ map, enabled, satellites, setSatellites, opacity, con
icon: window.L.divIcon({
className: 'sat-marker',
html: `
-
🛰
-
${sat.name}
+
🛰
+
${sat.name}
`,
iconSize: [80, 50],
iconAnchor: [40, 25],