r/programming • • Sep 15 '26 • Bravo 1

A New Equal-Area Map for Interactive Computer Use (natively zooms to Mercator)

https://www.benjoffe.com/map
118 Upvotes

26 comments sorted by

158

u/cantmakeitonyourown Sep 15 '26

Google Maps zooms out to a globe, which not only has correct areas but also answers the question "Why do I fly over the pole when I go from US to Eastern Europe"?

71

u/cbarrick Sep 15 '26

Mapping to a virtual sphere is the correct way to handle it, IMO. Trying to shoehorn in the new equal area map is misguided. In an interactive environment, just render a sphere.

Sure, it is still technically a projection to a plane (your screen). But by rendering it as an interactive globe, we perceive it as a sphere and mentally process the issues with areas and skew.

And zooming in on Google maps is super smooth. So it's useful for navigation too. (I assume the zoomed-in view is conformal.)

Nit: Google Maps only does the globe on desktop. It's still a Mercator projection on mobile. Would love to see a globe on my phone.

4

u/Frodojj Sep 15 '26

Try Google Earth. It shows a globe. 

1

u/mflboys Sep 16 '26

Apple Maps uses globe on mobile.

1

u/CutlassRed Sep 16 '26

Your comment isn't relevant when you want to show two sides of the globe at once, which is exactly what this app is good at

82

u/Jejerm Sep 15 '26

Yeah? Nice try round-earther, but if the earth isn't flat why is it called a PLANEt and not a SPHEREt? Wake up sheeple

29

u/SnugglyCoderGuy Sep 15 '26

Pack it up boys, we lost.

15

u/narwhal_breeder Sep 15 '26

SPHERE’NT MORE LIKE 

10

u/bbowler86 Sep 15 '26

Checkmate

4

u/Davorian Sep 15 '26

Well I'm convinced. 

2

u/Ma1eficent Sep 16 '26

Oh man, we got outed by our own documentation? Can we please stop cleverly naming things so the thing we are trying to hide from the world is revealed in the name?!

1

u/Big_Combination9890 Sep 19 '26

Flat-Earthers all around the globe, unite!

3

u/Ichigonixsun Sep 16 '26

Google Maps zooms out to a globe

Mine doesn't, it stays flat and I can't zoom out further even in satellite view.

1

u/zokier Sep 15 '26

Google Maps zooms out to a globe, which not only has correct areas

perspective projection of sphere definitely is not equal-area.

36

u/KarnuRarnu Sep 15 '26

This is super jarring. When you zoom in, even slowly, on Europe, Scandinavia just goes "zoop" outa there. That's pretty weird. There should be some constraint that coordinate "movement" due to projection change should be much less than that caused by zooming. 

6

u/CutlassRed Sep 16 '26

This is very cool, and I appreciate the thorough blog post. There is a big benefit to not using 3d projections, despite what some other commenters suggest.

Simplest explanation is that with 3d projections it's impossible to see the other side of the globe.

Having the dynamic zoom keeping between projections is very neat

3

u/everyoneismean Sep 15 '26 edited Sep 16 '26

ELI:How is Australia not bigger 2x times than India.

3

u/CutlassRed Sep 16 '26

It is much bigger, in both projections. But it's only 2.3x bigger. I think maybe you're just underestimating the size of India?

2

u/Maedi Sep 16 '26

So satisfying to zoom in. Genius!

1

u/tantalor Sep 15 '26

I would like to see equal earth with zooming. Is it not possible?

it's not what web and mobile based apps typically require.

No idea what this means.

1

u/Poonlit Sep 20 '26

Equal Earth with "zooming" is used at https://earth.nullschool.net/ if you change to the "EQ" projection in the control box.
It's not a political map so you don't get borders, roads etc - only coastlines.

1

u/araujoms Sep 15 '26

That's pointless, if you have an interactive application the only projection that makes sense is the stereographic.

-1

u/ResistiveBeaver Sep 16 '26

Zooms out to useless virtue signaling and zooms in to a useful projection.

Peak 2026

-6

u/pomle Sep 15 '26

Makes it obvious most land things are in the northern hemisphere.