Skip to content

chore(peers): equal earth map projection - #2502

Open
lidel wants to merge 1 commit into
mainfrom
feat/peers-equal-earth
Open

chore(peers): equal earth map projection#2502
lidel wants to merge 1 commit into
mainfrom
feat/peers-equal-earth

Conversation

@lidel

@lidel lidel commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Why

The Peers map uses an equirectangular projection, which stretches everything near the poles sideways. Greenland, northern Canada and Russia take up far more of the map than they should, and peers in Europe or the US read as further apart than peers near the equator which makes latency differences counter-intuitive (jk, nobody can see that, just my OCD the sizes are off).

https://en.wikipedia.org/wiki/Equal_Earth_projection

Fix

  • switch the pin projection to Equal Earth, an equal-area projection already shipped by the bundled d3-geo
  • regenerate StaticMap.svg (the land background) in the same projection, land only, 55 KB instead of 73 KB
  • fit pins by height so they line up with the CSS-scaled background at every viewport size

Preview

Screenshot 2026-09-08 at 03-16-08 Peers IPFS

Swap the equirectangular projection for Equal Earth on the Peers
world map. The static land SVG is regenerated in the same projection
and the pins are fitted by height so both stay aligned at every size.
@lidel
lidel requested a review from a team as a code owner September 8, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant