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.

Implementation

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