Bug fix: The domDepth calculation is incorrect
(I forgot to update the getZIndex() yesterday)
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.0.0-beta2-20170623-1615" 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.0.0-beta2-20170624-1408" 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
www/Common.js
www/Common.js
@@ -301,18 +301,19 @@ function getZIndex(dom) {
}
if (window.getComputedStyle) {
try {
- z = document.defaultView.getComputedStyle(dom, null).getPropertyValue('z-index');
+ z = parseInt(document.defaultView.getComputedStyle(dom, null).getPropertyValue('z-index'), 10);
} catch(e) {}
}
if (dom.currentStyle) {
- z = dom.currentStyle['z-index'];
+ z = parseInt(dom.currentStyle['z-index']);
}
if (dom === document.body && z === "auto") {
z = 0;
}
if (isNaN(z)) {
- return getZIndex(dom.parentNode);
+ z = 0;
}
+ z += getZIndex(dom.parentNode);
return z;
}

Bug fix: The domDepth calculation is incorrect
(I forgot to update the getZIndex() yesterday)