(Browser) Fix: GroundOverlay.remove() does not work
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.4.4-beta-20180913-1305" 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.4.4-beta-20180913-1330" 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">
<runs/>

MODIFY
src/browser/PluginGroundOverlay.js
src/browser/PluginGroundOverlay.js
@@ -402,11 +402,12 @@ CustomGroundOverlay.prototype.draw = function() {
CustomGroundOverlay.prototype.onAdd = function() {
var self = this;
+ self.set('mapPane', self.getPanes().mapPane);
self.getPanes().mapPane.appendChild(self.get("img"));
};
CustomGroundOverlay.prototype.onRemove = function() {
var self = this;
- self.getPanes().mapPane.removeChild(self.get("img"));
+ self.get('mapPane').removeChild(self.get("img"));
google.maps.event.clearInstanceListeners(self.get('img'));
};

(Browser) Fix: GroundOverlay.remove() does not work