clusterRadius property

Future<double?> get clusterRadius

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

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;
    }
  });
}