clusterMaxZoom property
Max zoom on which to cluster points if clustering is enabled. Defaults to one zoom less than maxzoom (so that last zoom features are not clustered). Clusters are re-evaluated at integer zoom levels so setting clusterMaxZoom to 14 means the clusters will be displayed until z15.
Implementation
Future<double?> get clusterMaxZoom async {
return _style?.getStyleSourceProperty(id, "clusterMaxZoom").then((value) {
if (value.value != null) {
return (value.value as num).toDouble();
} else {
return null;
}
});
}