Logically, this is an algorithm that combines all the elements in a cluster. But I get an error when calling the elements according to the scale value.
let clusters = clusterManager.algorithm.clusters(atZoom: 21.0
for c in clusters {
for i in c.items {
if let m = i as? POIItem {
}
}
}
source
share