Bug fix: the plugin does not use the marker.hash, but still remains some code
MODIFY
src/ios/GoogleMaps/GoogleMapsViewController.m
src/ios/GoogleMaps/GoogleMapsViewController.m
//CDVPlugin<MyPlgunProtocol> *plugin = [self.plugins objectForKey:pluginId];
// Get the marker properties
- NSString *markerPropertyId = [NSString stringWithFormat:@"marker_property_%lu", (unsigned long)marker.hash];
+ NSString *markerPropertyId = [NSString stringWithFormat:@"marker_property_%lu", (unsigned long)marker.userData];
NSDictionary *properties = [self.objects objectForKey:markerPropertyId];
Boolean useHtmlInfoWnd = marker.title == nil && marker.snippet == nil;

MODIFY
src/ios/GoogleMaps/PluginMarker.m
src/ios/GoogleMaps/PluginMarker.m
GMSMarker *marker = [self.mapCtrl.objects objectForKey:markerId];
marker.title = [command.arguments objectAtIndex:1];
- NSString *propertyId = [NSString stringWithFormat:@"marker_property_%lu", (unsigned long)marker.hash];
+ NSString *propertyId = [NSString stringWithFormat:@"marker_property_%lu", (unsigned long)marker.userData];
NSMutableDictionary *properties = [NSMutableDictionary dictionaryWithDictionary:
[self.mapCtrl.objects objectForKey:propertyId]];
[self.mapCtrl.objects setObject:properties forKey:propertyId];
GMSMarker *marker = [self.mapCtrl.objects objectForKey:markerId];
BOOL disableAutoPan = [[command.arguments objectAtIndex:1] boolValue];
- NSString *propertyId = [NSString stringWithFormat:@"marker_property_%lu", (unsigned long)marker.hash];
+ NSString *propertyId = [NSString stringWithFormat:@"marker_property_%lu", (unsigned long)marker.userData];
NSMutableDictionary *properties = [NSMutableDictionary dictionaryWithDictionary:
[self.mapCtrl.objects objectForKey:propertyId]];
[properties setObject:[NSNumber numberWithBool:disableAutoPan] forKey:@"disableAutoPan"];
marker.map = nil;
}
- NSString *propertyId = [NSString stringWithFormat:@"marker_property_%lu", (unsigned long)marker.hash];
+ NSString *propertyId = [NSString stringWithFormat:@"marker_property_%lu", (unsigned long)marker.userData];
NSMutableDictionary *properties = [NSMutableDictionary dictionaryWithDictionary:
[self.mapCtrl.objects objectForKey:propertyId]];
[properties setObject:[NSNumber numberWithBool:isVisible] forKey:@"visible"];

Bug fix: the plugin does not use the marker.hash, but still remains some code #1626