We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b47119 commit 4ed59e8Copy full SHA for 4ed59e8
Sources/GoogleMapsUtilsObjC/include/GMUDefaultClusterRenderer.m
@@ -284,7 +284,7 @@ - (void)renderCluster:(id<GMUCluster>)cluster animated:(BOOL)animated {
284
} else {
285
for (id<GMUClusterItem> item in cluster.items) {
286
GMSMarker *marker;
287
- if ([item class] == [GMSMarker class]) {
+ if ([item isKindOfClass:[GMSMarker class]]) {
288
marker = (GMSMarker<GMUClusterItem> *)item;
289
marker.map = _mapView;
290
0 commit comments