Function: loadFillTriangulation()
ts
function loadFillTriangulation(): Promise<(input, origin) => FillTriangulation>;Experimental
The fill chunk's triangulateFills, for code that triangulates polygons without drawing a fill (GEO8: the globe's sphere meshes, in another package's lazy chunk). triangulateFills is also a synchronous export of the package, but importing that from lazy code makes a bundler keep earcut and the fill-rule code in the app's initial chunk (7 kB gzipped). Through here they stay in the one fill chunk, which is loaded once, as for a fill. Rejects when the chunk cannot be loaded; the next call tries again.
Returns
Promise<(input, origin) => FillTriangulation>