Google Maps Platform
Announcing marker clustering in the Google Maps SDK for iOS Utility Library
Do you ever feel that your map just has too many markers on it, making it feel cluttered and hard to comprehend? Or, perhaps you want to show where the popular restaurants are in your city, but you still want your map to look clean?
Marker clustering supports you in doing this. As the zoom levels of the map change, you can aggregate markers, indicating clearly to your users exactly where those popular restaurants are located. As your user zooms in, the markers progressively split out until all of the individual markers are displayed.Using the new marker clustering feature in the Google Maps SDK for iOS Utility Library is an easy 4 step process:
- Add ‘Google-Maps-iOS-Utils’ to your Podfile
- Instantiate the GMUClusterManager
- Implement the GMUClusterItem protocol for your marker objects
- Add the marker objects to the cluster manager