feat(earthquakes): select quakes by click and show their details

Clicking a quake's disc selects it and shows a card with its magnitude and
USGS class, a class meter with the depth band, place, UTC time and source.
With a USGS event id the card opens the event page. Clicking a magnitude
label, the part a far view can hit, also flies the camera to the quake. The
selection joins the shared context selection, so "what's selected" answers
with it.

The selected disc is painted with a gradient that fades to its outer circle,
and wavy contour lines run out from the marker for three cycles while it is
on screen, then rest as still contours, so a parked camera returns to idle.
A feed refresh updates the selection in place without restarting the lines
or taking back the shared selection.

The package takes input, picking, context, focus, the opener, the painter
and the translator by injection; without them it draws as before.
This commit is contained in:
manjunath22466 committed 2026-11-16 17:55:29 +05:30
1 parent da81cf743b
commit a8ac8eeb9b
25 files changed
+2292 -34

No files matched your search

+11
View File
@@ -647,6 +647,16 @@
"UNAVAILABLE": "غير متاح",
"Live Flights": "تتبّع الرحلات المباشر",
"Earthquakes (24h)": "الزلازل (24 ساعة)",
"earthquake|Minor": "طفيف",
"earthquake|Light": "خفيف",
"earthquake|Moderate": "معتدل",
"earthquake|Strong": "قوي",
"earthquake|Major": "كبير",
"earthquake|Great": "هائل",
"earthquake|Shallow": "ضحل",
"earthquake|Intermediate": "متوسط العمق",
"earthquake|Deep": "عميق",
"{km} km deep": "على عمق {km} كم",
"No selected data layers": "لا توجد طبقات بيانات محددة",
"Cleared {count} data layers": {
"zero": "لم تُمسح أي طبقة بيانات ({count})",
@@ -2154,6 +2164,7 @@
"Exit cockpit to fly to a target": "اخرج من القمرة للانتقال إلى هدف",
"Exit cockpit to fly to a vessel": "اخرج من القمرة للانتقال إلى سفينة",
"Exit cockpit to fly to a fire": "اخرج من القمرة للانتقال إلى حريق",
"Exit cockpit to fly to an earthquake": "اخرج من القمرة للانتقال إلى زلزال",
"Exit cockpit to fly to a route": "اخرج من القمرة للانتقال إلى مسار",
"Exit cockpit to fly to a file": "اخرج من القمرة للانتقال إلى ملف",
"Exit cockpit to fly to a scene": "اخرج من القمرة للانتقال إلى مشهد",
+11
View File
@@ -634,6 +634,16 @@
"Live Flights": "Live-Flüge",
"Military Flights": "Militärflüge",
"Earthquakes (24h)": "Erdbeben (24 h)",
"earthquake|Minor": "Schwach",
"earthquake|Light": "Leicht",
"earthquake|Moderate": "Mittel",
"earthquake|Strong": "Stark",
"earthquake|Major": "Schwer",
"earthquake|Great": "Gewaltig",
"earthquake|Shallow": "Flach",
"earthquake|Intermediate": "Mitteltief",
"earthquake|Deep": "Tief",
"{km} km deep": "{km} km tief",
"Satellites": "Satelliten",
"Place names": "Ortsnamen",
"Space Missions (30d)": "Raummissionen (30 T)",
@@ -2058,6 +2068,7 @@
"Exit cockpit to fly to a target": "Cockpit verlassen, um zu einem Ziel zu fliegen",
"Exit cockpit to fly to a vessel": "Cockpit verlassen, um zu einem Schiff zu fliegen",
"Exit cockpit to fly to a fire": "Cockpit verlassen, um zu einem Brand zu fliegen",
"Exit cockpit to fly to an earthquake": "Cockpit verlassen, um zu einem Erdbeben zu fliegen",
"Exit cockpit to fly to a route": "Cockpit verlassen, um zu einer Route zu fliegen",
"Exit cockpit to fly to a file": "Cockpit verlassen, um zu einer Datei zu fliegen",
"Exit cockpit to fly to a scene": "Cockpit verlassen, um zu einer Szene zu fliegen",
+11
View File
@@ -526,6 +526,16 @@
"UNAVAILABLE": "NO DISPONIBLE",
"Live Flights": "Vuelos en vivo",
"Earthquakes (24h)": "Terremotos (24 h)",
"earthquake|Minor": "Menor",
"earthquake|Light": "Ligero",
"earthquake|Moderate": "Moderado",
"earthquake|Strong": "Fuerte",
"earthquake|Major": "Mayor",
"earthquake|Great": "Gran",
"earthquake|Shallow": "Superficial",
"earthquake|Intermediate": "Intermedio",
"earthquake|Deep": "Profundo",
"{km} km deep": "{km} km de profundidad",
"No selected data layers": "No hay capas de datos seleccionadas",
"Cleared {count} data layers": {
"one": "Se limpió {count} capa de datos",
@@ -2599,6 +2609,7 @@
"Exit cockpit to fly to a target": "Sal de la cabina para volar a un objetivo",
"Exit cockpit to fly to a vessel": "Sal de la cabina para volar a un buque",
"Exit cockpit to fly to a fire": "Sal de la cabina para volar a un incendio",
"Exit cockpit to fly to an earthquake": "Sal de la cabina para volar a un terremoto",
"Exit cockpit to fly to a route": "Sal de la cabina para volar a una ruta",
"Exit cockpit to fly to a file": "Sal de la cabina para volar a un archivo",
"Exit cockpit to fly to a scene": "Sal de la cabina para volar a una escena",
+11
View File
@@ -1479,6 +1479,7 @@
"Exit cockpit to fly to a target": "Quittez le cockpit pour rejoindre une cible",
"Exit cockpit to fly to a vessel": "Quittez le cockpit pour rejoindre un navire",
"Exit cockpit to fly to a fire": "Quittez le cockpit pour rejoindre un incendie",
"Exit cockpit to fly to an earthquake": "Quittez le cockpit pour rejoindre un séisme",
"Exit cockpit to fly to a route": "Quittez le cockpit pour rejoindre un itinéraire",
"Exit cockpit to fly to a file": "Quittez le cockpit pour rejoindre un fichier",
"Exit cockpit to fly to a scene": "Quittez le cockpit pour rejoindre une scène",
@@ -1937,6 +1938,16 @@
"Live Flights": "Vols en direct",
"Military Flights": "Vols militaires",
"Earthquakes (24h)": "Séismes (24 h)",
"earthquake|Minor": "Mineur",
"earthquake|Light": "Léger",
"earthquake|Moderate": "Modéré",
"earthquake|Strong": "Fort",
"earthquake|Major": "Majeur",
"earthquake|Great": "Exceptionnel",
"earthquake|Shallow": "Superficiel",
"earthquake|Intermediate": "Intermédiaire",
"earthquake|Deep": "Profond",
"{km} km deep": "{km} km de profondeur",
"Satellites": "Satellites",
"Place names": "Noms de lieux",
"Space Missions (30d)": "Missions spatiales (30 j)",
+11
View File
@@ -1373,6 +1373,7 @@
"Exit cockpit to fly to a target": "צא מתא הטייס כדי לטוס אל מטרה",
"Exit cockpit to fly to a vessel": "צא מתא הטייס כדי לטוס אל אונייה",
"Exit cockpit to fly to a fire": "צא מתא הטייס כדי לטוס אל שריפה",
"Exit cockpit to fly to an earthquake": "צא מתא הטייס כדי לטוס אל רעידת אדמה",
"Exit cockpit to fly to a sighting": "צא מתא הטייס כדי לטוס אל תצפית",
"Exit cockpit to fly to a sighting area": "צא מתא הטייס כדי לטוס אל אזור תצפית",
"Exit cockpit to fly to a route": "צא מתא הטייס כדי לטוס אל מסלול",
@@ -1789,6 +1790,16 @@
"Live Flights": "טיסות חיות",
"Military Flights": "טיסות צבאיות",
"Earthquakes (24h)": "רעידות אדמה (24 שע׳)",
"earthquake|Minor": "קל מאוד",
"earthquake|Light": "קל",
"earthquake|Moderate": "בינוני",
"earthquake|Strong": "חזק",
"earthquake|Major": "חזק מאוד",
"earthquake|Great": "עצום",
"earthquake|Shallow": "רדוד",
"earthquake|Intermediate": "עומק בינוני",
"earthquake|Deep": "עמוק",
"{km} km deep": "בעומק {km} ק״מ",
"Satellites": "לוויינים",
"Space Missions (30d)": "משימות חלל (30 יום)",
"Street Traffic": "תנועה ברחובות",
+11
View File
@@ -1479,6 +1479,7 @@
"Exit cockpit to fly to a target": "Esci dal cockpit per volare a un obiettivo",
"Exit cockpit to fly to a vessel": "Esci dal cockpit per volare a una nave",
"Exit cockpit to fly to a fire": "Esci dal cockpit per volare a un incendio",
"Exit cockpit to fly to an earthquake": "Esci dal cockpit per volare a un terremoto",
"Exit cockpit to fly to a route": "Esci dal cockpit per volare a un percorso",
"Exit cockpit to fly to a file": "Esci dal cockpit per volare a un file",
"Exit cockpit to fly to a scene": "Esci dal cockpit per volare a una scena",
@@ -1937,6 +1938,16 @@
"Live Flights": "Voli live",
"Military Flights": "Voli militari",
"Earthquakes (24h)": "Terremoti (24 h)",
"earthquake|Minor": "Minore",
"earthquake|Light": "Leggero",
"earthquake|Moderate": "Moderato",
"earthquake|Strong": "Forte",
"earthquake|Major": "Maggiore",
"earthquake|Great": "Grande",
"earthquake|Shallow": "Superficiale",
"earthquake|Intermediate": "Intermedio",
"earthquake|Deep": "Profondo",
"{km} km deep": "{km} km di profondità",
"Satellites": "Satelliti",
"Place names": "Nomi dei luoghi",
"Space Missions (30d)": "Missioni spaziali (30 g)",
+11
View File
@@ -1441,6 +1441,7 @@
"Exit cockpit to fly to a target": "ターゲットへ移動するにはコックピットを終了してください",
"Exit cockpit to fly to a vessel": "船舶へ移動するにはコックピットを終了してください",
"Exit cockpit to fly to a fire": "火災へ移動するにはコックピットを終了してください",
"Exit cockpit to fly to an earthquake": "地震へ移動するにはコックピットを終了してください",
"Exit cockpit to fly to a route": "ルートへ移動するにはコックピットを終了してください",
"Exit cockpit to fly to a file": "ファイルの位置へ移動するにはコックピットを終了してください",
"Exit cockpit to fly to a scene": "シーンへ移動するにはコックピットを終了してください",
@@ -1869,6 +1870,16 @@
"Live Flights": "ライブフライト",
"Military Flights": "軍用機",
"Earthquakes (24h)": "地震(24時間)",
"earthquake|Minor": "微小",
"earthquake|Light": "軽微",
"earthquake|Moderate": "中規模",
"earthquake|Strong": "強い",
"earthquake|Major": "大規模",
"earthquake|Great": "巨大",
"earthquake|Shallow": "浅発",
"earthquake|Intermediate": "やや深発",
"earthquake|Deep": "深発",
"{km} km deep": "深さ {km} km",
"Satellites": "衛星",
"Place names": "地名",
"Space Missions (30d)": "宇宙ミッション(30日)",
+11
View File
@@ -1479,6 +1479,7 @@
"Exit cockpit to fly to a target": "Saia da cabine para voar até um alvo",
"Exit cockpit to fly to a vessel": "Saia da cabine para voar até uma embarcação",
"Exit cockpit to fly to a fire": "Saia da cabine para voar até um incêndio",
"Exit cockpit to fly to an earthquake": "Saia da cabine para voar até um terremoto",
"Exit cockpit to fly to a route": "Saia da cabine para voar até uma rota",
"Exit cockpit to fly to a file": "Saia da cabine para voar até um arquivo",
"Exit cockpit to fly to a scene": "Saia da cabine para voar até uma cena",
@@ -1937,6 +1938,16 @@
"Live Flights": "Voos ao vivo",
"Military Flights": "Voos militares",
"Earthquakes (24h)": "Terremotos (24 h)",
"earthquake|Minor": "Menor",
"earthquake|Light": "Leve",
"earthquake|Moderate": "Moderado",
"earthquake|Strong": "Forte",
"earthquake|Major": "Maior",
"earthquake|Great": "Grande",
"earthquake|Shallow": "Raso",
"earthquake|Intermediate": "Intermediário",
"earthquake|Deep": "Profundo",
"{km} km deep": "{km} km de profundidade",
"Satellites": "Satélites",
"Place names": "Nomes de lugares",
"Space Missions (30d)": "Missões espaciais (30 d)",
+11
View File
@@ -631,6 +631,16 @@
"Live Flights": "Рейсы онлайн",
"Military Flights": "Военные рейсы",
"Earthquakes (24h)": "Землетрясения (24 ч)",
"earthquake|Minor": "Слабое",
"earthquake|Light": "Лёгкое",
"earthquake|Moderate": "Умеренное",
"earthquake|Strong": "Сильное",
"earthquake|Major": "Мощное",
"earthquake|Great": "Катастрофическое",
"earthquake|Shallow": "Мелкофокусное",
"earthquake|Intermediate": "Среднефокусное",
"earthquake|Deep": "Глубокофокусное",
"{km} km deep": "глубина {km} км",
"Satellites": "Спутники",
"Place names": "Названия мест",
"Space Missions (30d)": "Космические миссии (30 дн.)",
@@ -2645,6 +2655,7 @@
"Exit cockpit to fly to a target": "Выйдите из кабины, чтобы перелететь к цели",
"Exit cockpit to fly to a vessel": "Выйдите из кабины, чтобы перелететь к судну",
"Exit cockpit to fly to a fire": "Выйдите из кабины, чтобы перелететь к пожару",
"Exit cockpit to fly to an earthquake": "Выйдите из кабины, чтобы перелететь к землетрясению",
"Exit cockpit to fly to a route": "Выйдите из кабины, чтобы перелететь к маршруту",
"Exit cockpit to fly to a file": "Выйдите из кабины, чтобы перелететь к файлу",
"Exit cockpit to fly to a scene": "Выйдите из кабины, чтобы перелететь к сцене",
+11
View File
@@ -591,6 +591,16 @@
"Live Flights": "Liveflyg",
"Military Flights": "Militärflyg",
"Earthquakes (24h)": "Jordbävningar (24 h)",
"earthquake|Minor": "Mindre",
"earthquake|Light": "Lätt",
"earthquake|Moderate": "Måttlig",
"earthquake|Strong": "Kraftig",
"earthquake|Major": "Stor",
"earthquake|Great": "Mycket stor",
"earthquake|Shallow": "Grund",
"earthquake|Intermediate": "Medeldjup",
"earthquake|Deep": "Djup",
"{km} km deep": "{km} km djup",
"Satellites": "Satelliter",
"Space Missions (30d)": "Rymduppdrag (30 d)",
"Street Traffic": "Gatutrafik",
@@ -1980,6 +1990,7 @@
"Exit cockpit to fly to a target": "Lämna cockpiten för att flyga till ett mål",
"Exit cockpit to fly to a vessel": "Lämna cockpiten för att flyga till ett fartyg",
"Exit cockpit to fly to a fire": "Lämna cockpiten för att flyga till en brand",
"Exit cockpit to fly to an earthquake": "Lämna cockpiten för att flyga till en jordbävning",
"Exit cockpit to fly to a route": "Lämna cockpiten för att flyga till en rutt",
"Exit cockpit to fly to a file": "Lämna cockpiten för att flyga till en fil",
"Exit cockpit to fly to a scene": "Lämna cockpiten för att flyga till en scen",
+11
View File
@@ -1497,6 +1497,7 @@
"Exit cockpit to fly to a target": "Вийдіть із кабіни, щоб перелетіти до цілі",
"Exit cockpit to fly to a vessel": "Вийдіть із кабіни, щоб перелетіти до судна",
"Exit cockpit to fly to a fire": "Вийдіть із кабіни, щоб перелетіти до пожежі",
"Exit cockpit to fly to an earthquake": "Вийдіть із кабіни, щоб перелетіти до землетрусу",
"Exit cockpit to fly to a route": "Вийдіть із кабіни, щоб перелетіти до маршруту",
"Exit cockpit to fly to a file": "Вийдіть із кабіни, щоб перелетіти до файлу",
"Exit cockpit to fly to a scene": "Вийдіть із кабіни, щоб перелетіти до сцени",
@@ -1970,6 +1971,16 @@
"Live Flights": "Рейси онлайн",
"Military Flights": "Військові рейси",
"Earthquakes (24h)": "Землетруси (24 год)",
"earthquake|Minor": "Слабкий",
"earthquake|Light": "Легкий",
"earthquake|Moderate": "Помірний",
"earthquake|Strong": "Сильний",
"earthquake|Major": "Потужний",
"earthquake|Great": "Катастрофічний",
"earthquake|Shallow": "Мілкофокусний",
"earthquake|Intermediate": "Середньофокусний",
"earthquake|Deep": "Глибокофокусний",
"{km} km deep": "глибина {km} км",
"Satellites": "Супутники",
"Place names": "Назви місць",
"Space Missions (30d)": "Космічні місії (30 дн)",
+11
View File
@@ -1415,6 +1415,7 @@
"Exit cockpit to fly to a target": "请先退出座舱,再飞往目标",
"Exit cockpit to fly to a vessel": "请先退出座舱,再飞往船舶",
"Exit cockpit to fly to a fire": "请先退出座舱,再飞往火点",
"Exit cockpit to fly to an earthquake": "请先退出座舱,再飞往地震",
"Exit cockpit to fly to a route": "请先退出座舱,再飞往路线",
"Exit cockpit to fly to a file": "请先退出座舱,再飞往文件位置",
"Exit cockpit to fly to a scene": "请先退出座舱,再飞往场景",
@@ -1844,6 +1845,16 @@
"Live Flights": "实时航班",
"Military Flights": "军用航班",
"Earthquakes (24h)": "地震(24 小时)",
"earthquake|Minor": "微弱",
"earthquake|Light": "轻微",
"earthquake|Moderate": "中等",
"earthquake|Strong": "强烈",
"earthquake|Major": "重大",
"earthquake|Great": "巨大",
"earthquake|Shallow": "浅源",
"earthquake|Intermediate": "中源",
"earthquake|Deep": "深源",
"{km} km deep": "震源深度 {km} km",
"Satellites": "卫星",
"Place names": "地名",
"Space Missions (30d)": "太空任务(30 天)",
+11
View File
@@ -1410,6 +1410,7 @@
"Exit cockpit to fly to a target": "請先退出座艙,再飛往目標",
"Exit cockpit to fly to a vessel": "請先退出座艙,再飛往船舶",
"Exit cockpit to fly to a fire": "請先退出座艙,再飛往火點",
"Exit cockpit to fly to an earthquake": "請先退出座艙,再飛往地震",
"Exit cockpit to fly to a route": "請先退出座艙,再飛往路線",
"Exit cockpit to fly to a file": "請先退出座艙,再飛往文件位置",
"Exit cockpit to fly to a scene": "請先退出座艙,再飛往場景",
@@ -1836,6 +1837,16 @@
"Live Flights": "實時航班",
"Military Flights": "軍用航班",
"Earthquakes (24h)": "地震(24 小時)",
"earthquake|Minor": "微弱",
"earthquake|Light": "輕微",
"earthquake|Moderate": "中等",
"earthquake|Strong": "強烈",
"earthquake|Major": "重大",
"earthquake|Great": "巨大",
"earthquake|Shallow": "淺源",
"earthquake|Intermediate": "中源",
"earthquake|Deep": "深源",
"{km} km deep": "震源深度 {km} km",
"Satellites": "衛星",
"Place names": "地名",
"Space Missions (30d)": "太空任務(30 天)",