fix: can't click buttons on the Cordova wheel dialog
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.6.3-20190930-1201" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
+<plugin id="cordova-plugin-googlemaps" version="2.6.3-20190930-1257" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
<js-module name="Promise" src="www/Promise.js" />
<js-module name="BaseClass" src="www/BaseClass.js">

MODIFY
src/ios/GoogleMaps/MyPluginLayer.m
src/ios/GoogleMaps/MyPluginLayer.m
NSArray *subviews = [self.webView.superview subviews];
//CGRect statusBarFrame = [UIApplication sharedApplication].statusBarFrame;
//CGPoint subviewPoint = CGPointMake(browserClickPoint.x, browserClickPoint.y - statusBarFrame.size.height);
- CGPoint subviewPoint = CGPointMake(browserClickPoint.x, browserClickPoint.y + self.webView.frame.origin.y);
+
for (int i = ((int)[subviews count] - 1); i >= 0; i--) {
subview = [subviews objectAtIndex: i];
//NSLog(@"--->subview[%d] = %@", i, subview);
continue;
}
+ CGPoint subviewPoint = CGPointMake(point.x, point.y - subview.frame.origin.y);
UIView *hit = [subview hitTest:subviewPoint withEvent:event];
if (hit) {

fix: can't click buttons on the Cordova wheel dialog #2676