(Android) bug fix: INFO_CLOSE never fire
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.2.0-beta-20180129-1132" 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.2.0-beta-20180129-1423" 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="BaseClass" src="www/BaseClass.js">
<runs />

MODIFY
src/android/plugin/google/maps/PluginMap.java
src/android/plugin/google/maps/PluginMap.java
@@ -2227,6 +2227,8 @@ public class PluginMap extends MyPlugin implements OnMarkerClickListener,
} else {
this.onMarkerEvent("info_close", marker);
}
+ } else {
+ this.onMarkerEvent("info_close", marker);
}
//activeMarker = null; // <-- This causes HTMLinfoWindow is not able to close when you tap on the map.
}

(Android) bug fix: INFO_CLOSE never fire