logoalt Hacker News

marquesinelast Friday at 7:45 PM2 repliesview on HN

This is the thing I wished existed somewhere and didn’t know how to search for.

I’m a land surveyor, and another topic I’m interested in is automatic label (text) positioning around shapes, possible strategies, what works best, including design principles and how to keep it non-cluttered for the user.


Replies

Fraterkeslast Friday at 8:01 PM

Hey, you've probably seen these already, but Redblobgames has a great series of posts about creating good labels for maps: https://www.redblobgames.com/blog/2024-08-20-labels-on-maps/ https://www.redblobgames.com/blog/2024-10-09-sdf-curved-text... (There's a few others too)

joulessyesterday at 1:38 AM

Polylabel is pretty great

https://github.com/mapbox/polylabel