Map earthquakes live
Mapping earthquakes live means binding a public feed to a map that refreshes on its own. The USGS earthquake service publishes recent events as GeoJSON on a fixed URL; point Spatly at it with a refresh interval and every viewer sees the latest events without touching the page. Style circles by magnitude, colour by depth, and let a time slider play the last day or week.
On a dashboard the feed drives more than the map. KPIs count events in view and recompute as you pan, a magnitude histogram filters the map when you click a bar, and a table of the strongest events flies the camera to a row. Each widget carries an as-of timestamp, and if the feed fails the widgets hatch over rather than showing an old number as if it were current. The dashboard below is a real published Spatly surface reading the USGS past-seven-days feed live.
Publish the live map as a link or an embed, or wrap it in an Insight Container so a compact seismic card can travel to any page.
Global seismic watch, a live dashboard on the USGS past-seven-days feed. This is a real published Spatly surface, not a screenshot.
How to map earthquakes live
- Step 1
Bind the USGS feed
Add the USGS GeoJSON URL as a live source and set a refresh interval. Spatly caches server-side so all viewers share one fetch.
- Step 2
Style and play time
Size circles by magnitude, colour by depth, and add a time slider so the last day or week plays across every widget.
- Step 3
Publish live
Publish the dashboard or embed it. Widgets stamp their as-of time and hatch over on a failed refresh, never showing stale numbers as current.
Bring the data you already have
Spatly ingests it into PostGIS, samples the fields for ramps and categories, and serves GeoJSON or vector tiles depending on size. Every source keeps its refresh policy, cache and health.
Embed this exact surface
Paste one script tag into any page. The map mounts where the tag sits, resizes to its content, and needs no build step.
<script src="https://spatly.io/embed.js" data-spatly="uFqX4FkpZ3" data-height="720"></script>
Posts spatly:ready, spatly:resize, spatly:expand and spatly:select. Embed docs
Good to know
- Where does the earthquake data come from?
- From the public USGS earthquake feed, published as GeoJSON on a fixed URL. Spatly re-fetches it on a refresh interval and caches it server-side.
- Does the map stay current?
- Yes. Each widget carries an as-of timestamp and refreshes on a schedule. A failed refresh hatches the widget over instead of showing an old number as current.
Map earthquakes live in Spatly.
Start from a basemap and a file, or open a template and take it apart. Every plan includes Spatly embeds, the REST API and the MCP server.
41.0082°N 28.9784°E · z 11.3 · ⟂ 0°