Skip to content

Releases: mapbox/polylabel

v2.1.0

Choose a tag to compare

@mourner mourner released this 25 Jun 09:22

~35 times faster (#127)

v2.0.1

Choose a tag to compare

@mourner mourner released this 06 Jul 09:05

Slightly smaller bundle.

v2.0.0

Choose a tag to compare

@mourner mourner released this 26 Jun 09:43
  • ⚠️ 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

Choose a tag to compare

@mourner mourner released this 21 May 10:45

Augment the returned result with the distance property. #61

v1.0.4

Choose a tag to compare

@mourner mourner released this 19 May 06:53
  • Upgraded tinyqueue to v2.

v1.0.3 (C++)

Choose a tag to compare

@mourner mourner released this 19 May 06:49

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

v1.0.2

Choose a tag to compare

@mourner mourner released this 13 Oct 14:56

Fixed polylabel hanging on some degenerate polygons.

v1.0.1

Choose a tag to compare

@mourner mourner released this 30 Aug 16:13
  • Fixed rectangular polygons producing unexpected results.