(JS) disable nav-decor style class of  map page (ionic hack)
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.0.0-beta2-20170705-1320" 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-20170705-1400" 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
@@ -86,6 +86,9 @@ var saltHash = Math.floor(Math.random() * Date.now());
*/
var isChecking = false;
var cacheDepth = {};
+ var navDecorBlocker = document.createElement("style");
+ navDecorBlocker.innerText = "._gmaps_cdv_ .nav-decor {background-color: rgba(0,0,0,0) !important; display:none !important}";
+ document.head.appendChild(navDecorBlocker);
function putHtmlElements() {
var mapIDs = Object.keys(MAPS);
@@ -280,7 +283,6 @@ var saltHash = Math.floor(Math.random() * Date.now());
}());
-
/*****************************************************************************
* Private functions
*****************************************************************************/
@@ -313,12 +315,6 @@ module.exports = {
BaseArrayClass: BaseArrayClass,
Map: {
getMap: function(div) {
- var navDecor = document.getElementsByClassName("nav-decor");
- if (navDecor && navDecor.length > 0) {
- for (var i = 0; i < navDecor.length; i++) {
- navDecor[i].style.display = "none !important";
- }
- }
var mapId;
if (common.isDom(div)) {
mapId = div.getAttribute("__pluginMapId");

(JS) disable nav-decor style class of  map page (ionic hack)
https://github.com/ionic-team/ionic/issues/8252
https://github.com/ionic-team/ionic/issues/7205