Google recently announced the addition of marker clustering to its Google Maps SDK for iOS Utility Library. Marker clustering allows users to place numerous markers on a map without rendering the map unreadable. As zoom levels adjust for a particular map, markers aggregate (during zoom out) and split out (during zoom in) to keep maps clean and easy to understand. Developers have consistently requested this feature for the iOS SDK.
- Add 'Google-Maps-iOS-Utils' to the Podfile
- Instantiate the GMUClusterManager
- Implement the GMUClusterItem protocol for marker objects
- Add marker objects to the cluster manager