update: set backgroundCSS as transparent mandatory
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.0.0-beta2-20170716-2155" 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-20170717-1045" 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/googlemaps-cdv-plugin.js
www/googlemaps-cdv-plugin.js
@@ -53,6 +53,31 @@ var saltHash = Math.floor(Math.random() * Date.now());
viewportTag.setAttribute('content', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no');
})();
+/*****************************************************************************
+ * Prevent background, background-color, background-image properties
+ *****************************************************************************/
+document.body.style.backgroundImage = 'url() !important';
+document.body.parentNode.style.backgroundColor = 'rgba(0,0,0,0) !important';
+document.body.parentNode.style.background = 'rgba(0,0,0,0) !important';
+document.head.style.backgroundColor = 'rgba(0,0,0,0) !important';
+document.head.style.background = 'rgba(0,0,0,0) !important';
+
+var navDecorBlocker = document.createElement("style");
+navDecorBlocker.setAttribute("type", "text/css");
+navDecorBlocker.innerText = [
+ "._gmaps_cdv_ {",
+ " background-image: url() !important;",
+ " background: rgba(0,0,0,0) url() !important;",
+ " background-color: rgba(0,0,0,0) !important;",
+ "}",
+ "._gmaps_cdv_ .nav-decor {",
+ " background-color: rgba(0,0,0,0) !important;",
+ " background: rgba(0,0,0,0) !important;",
+ " display:none !important;",
+ "}"
+].join("");
+document.head.appendChild(navDecorBlocker);
+
/*****************************************************************************
* Add event lister to all html nodes under the <body> tag.
*****************************************************************************/
@@ -77,15 +102,6 @@ var saltHash = Math.floor(Math.random() * Date.now());
var isChecking = false;
var cacheDepth = {};
- var navDecorBlocker = document.createElement("style");
- navDecorBlocker.setAttribute("type", "text/css");
- navDecorBlocker.innerText = [
- "._gmaps_cdv_ .nav-decor {",
- " background-color: rgba(0,0,0,0) !important;",
- " background: rgba(0,0,0,0) !important;",
- " display:none !important;",
- "}"
- ].join("");
document.head.appendChild(navDecorBlocker);
var doNotTraceTags = [
"svg"

update: set backgroundCSS as transparent mandatory