PolygonLabelPlacementCalculator.simpleMultiWorldCentroid constructor

  1. @literal
const PolygonLabelPlacementCalculator.simpleMultiWorldCentroid()

Similar to PolygonLabelPlacementCalculator.simpleCentroid, but supports correct placement of the Polygon.label when the polygon lies across the anti-meridian

Implementation

@literal
const factory PolygonLabelPlacementCalculator.simpleMultiWorldCentroid() =
    SimpleMultiWorldCentroidCalculator._;