Used sources:
- Earthquake data from https://earthquake.usgs.gov/earthquakes/
- Processing - https://processing.org
-
Keyboard shortcuts
- Change map providers
- Show only the recent earthquakes or show it all
-
Mouse Hover
- Show a marker's detail drawn on top of other graphics
-
Mouse Clicks
-
When clicking a city marker:
- Shows an earthquake if the city is affected by its threat circle
- Hides other city marker
- A popup menu appears on the left side of the map to show the count of nearby earthquakes, average magnitude, and the most recent earthquake occurred
-
When clicking an earthquake marker:
- Shows a city marker if it is within its threat circle
- Hides other earthquake marker
-
-
Sorts on running
- Sorts out earthquakes by Contry name in an ascending order with the earthquake quantities prints out in console
- Sorts out by top highest magnitude quakes with fixed number of quakes prints out in console