mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-03 17:05:41 +02:00
* Avoid placing polygon labels in holes * Traverse vertices in hilbert order to find potential label points * Update test to reflect new label placements * Sorting by Y coordinate is better and easier than Hilbert order * Give a bonus for being near the center of mass * Make label points a little more border-shy * Tall places, not just wide places; border lines, not just border points * Clean up * Try diagonals through the features too * Limit the search for label points to prevent slowing down too much * At this point the center of mass bonus is doing more harm than good * Forgot to update test