Fix click events when more than one plugin is active
MODIFY
src/ios/GoogleMaps/GoogleMapsViewController.m
src/ios/GoogleMaps/GoogleMapsViewController.m
NSArray *keys;
NSNumber *isVisible, *geodesic, *isClickable;
NSMutableArray *boundsHitList = [NSMutableArray array];
+ NSMutableArray *boundsPluginList = [NSMutableArray array];
int i,j;
float zIndex, maxZIndex;
NSString* hitKey = nil;
bounds = (GMSCoordinateBounds *)[properties objectForKey:@"bounds"];
if ([bounds containsCoordinate:coordinate]) {
[boundsHitList addObject:key];
+ [boundsPluginList addObject:plugin];
}
}
}
maxZIndex = -1;
for (i = 0; i < [boundsHitList count]; i++) {
key = [boundsHitList objectAtIndex:i];
+ plugin = [boundsPluginList objectAtIndex:i];
properties = [plugin.objects objectForKey:key];

Fix click events when more than one plugin is active