Skip to content

Releases: mapbox/polylabel

v2.0.1

06 Jul 09:05
Compare
Choose a tag to compare

Slightly smaller bundle.

v2.0.0

26 Jun 09:43
Compare
Choose a tag to compare
  • ⚠️ breaking: publish polylabel as a ES module instead of CommonJS.
  • ⚠️ breaking: drop support for IE11 (you can still transpile the code on your end to keep it).
  • Prune cells more aggressively, slightly improving performance.
  • Fix the algorithm getting stuck on some degenerate cases.
  • Make sure the result is never outside the polygon even on low precision.

v1.1.0

21 May 10:45
Compare
Choose a tag to compare

Augment the returned result with the distance property. #61

v1.0.4

19 May 06:53
Compare
Choose a tag to compare
  • Upgraded tinyqueue to v2.

v1.0.3 (C++)

19 May 06:49
Compare
Choose a tag to compare

(C++ version) Fixed std::round not being defined in some platforms (#30)

v1.0.2

13 Oct 14:56
Compare
Choose a tag to compare

Fixed polylabel hanging on some degenerate polygons.

v1.0.1

30 Aug 16:13
Compare
Choose a tag to compare
  • Fixed rectangular polygons producing unexpected results.