by slibhb · 3y ago · 0 comments
Depends on the projection you use and its parameters. The "Web Mercator is racist" meme is just lazy.
One way around the issue is rendering a globe on a screen. Google maps does this when you zoom out far enough. By the same token, if you're using a screen, it's possible to dynamically reproject a map based on whatever is centered.
It is lazy, but here's a good reason to not use Web Mercator: Unlike regular Mercator, Web Mercator is not conformal. Mercator preserves shape locally, but Web Mercator distorts shapes by +/- 1%-ish depending on latitude. Web Mercator doesn't do the thing that makes Mercator a good projection.
Does that +/- 1%-ish actually matter? Maybe, I dunno. It annoys me though.
This isn't a way around the issue because the screen is two-dimensional so you are still showing a projection of the globe. I think Google uses the perspective projection when you zoom out enough.
Reprojecting on-the-fly is a way around it. Yes, you're still projecting to two dimensions but it drives home the point that the area of a landmass is relative depending on what the user is looking at. Something like: https://observablehq.com/d/539403a9237e737d