mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 02:02:21 +00:00
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:
1 parent
da81cf743b
commit
a8ac8eeb9b
25 files changed
+2292
-34
No files matched your search
@@ -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 天)",
|
||||
|
||||
Reference in new issue
Block a user