clusterRadius property

Future<double?> clusterRadius

Radius of each cluster if clustering is enabled. A value of 512 indicates a radius equal to the width of a tile.

Implementation

Future<double?> get clusterRadius async {
  return _style?.getStyleSourceProperty(id, "clusterRadius").then((value) {
    if (value.value != null) {
      return (value.value as num).toDouble();
    } else {
      return null;
    }
  });
}