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
@@ -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 дн)",
|
||||
|
||||
Reference in new issue
Block a user