labelPlacement property
- @Deprecated('Use `labelPlacementCalculator` with the equivalent calculator instead. ' 'Then, remove any arguments to this parameter and allow it to default. ' 'This enables more flexibility and extensibility. ' 'This was deprecated after v8.2.0, and will be removed in a future version.')
final
The placement logic of the Polygon.label
Important
If polygons may be over the anti-meridan boundary, SimpleMultiWorldCentroidCalculator must be used - other calculators will produce unexpected results.
See labelPlacementCalculator for more information.
Implementation
@Deprecated(
'Use `labelPlacementCalculator` with the equivalent calculator instead. '
'Then, remove any arguments to this parameter and allow it to default. '
'This enables more flexibility and extensibility. '
'This was deprecated after v8.2.0, and will be removed in a future version.',
)
final PolygonLabelPlacement labelPlacement;