I implemented it by following https://developers.google.com/maps/documentation/ios-sdk/utility/marker-clustering.
However, there is one problem.
I did not know how to control the color and transparency of the cluster marker.
I looked through the search, but I could not understand any other language code, including Object-C.
let iconGenerator = GMUDefaultClusterIconGenerator ()
let algorithm = GMUNonHierarchicalDistanceBasedAlgorithm ()
let renderer = GMUDefaultClusterRenderer (mapView: mapView, clusterIconGenerator: iconGenerator)
I also found that this can be solved.
I want to get a way to control the border, background color, transparency, and size of the cluster marker (Circle).
Please help me.
I found an answer with a perfect solution.
@Andr3a88 Answer : How to implement GMUClusterRenderer in Swift
The correct answer was to create the image rather than draw a circle in the script.
In the above script could also change the text.
The number of questions proves that many people like me are experiencing errors.
So I will leave a few questions to help you find a more complete solution.