mapbox / polylabel

A fast algorithm for finding the pole of inaccessibility of a polygon (in JavaScript and C++)
Other
1.44k stars 151 forks source link

Truncate Label #92

Closed Rskut closed 2 years ago

Rskut commented 2 years ago

Hey,

can I utilize this lib to truncate labels, as you can do with CSS?

mourner commented 2 years ago

No. This library calculates a central point inside a polygon, and that's all it does.