labelPlacement property
The placement logic of the Polygon.label
PolygonLabelPlacement.polylabel can be expensive for some polygons. If there is a large lag spike, try using PolygonLabelPlacement.centroid.
Labels will not be drawn if there is not enough space.
Implementation
final PolygonLabelPlacement labelPlacement;