(JS) Bug fix: Error in console on HtmlInfoWindow setBackgroundColor
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.1.0-beta-20171030-1928" 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.1.0-beta-20171031-1849" 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/HtmlInfoWindow.js
www/HtmlInfoWindow.js
@@ -424,8 +424,8 @@ HTMLInfoWindow.prototype.open = function(marker) {
HTMLInfoWindow.prototype.setBackgroundColor = function(backgroundColor) {
this.get("frame").children[0].style.backgroundColor = backgroundColor;
- this.get("frame").children[1].children[0].children[0].style.backgroundColor = backgroundColor;
- this.get("frame").children[1].children[1].children[0].style.backgroundColor = backgroundColor;
+ this.get("frame").children[1].children[0].style.borderColor = backgroundColor + " rgba(0,0,0,0) rgba(0,0,0,0)";
+ this.get("frame").children[1].children[1].style.borderColor = backgroundColor + " rgba(0,0,0,0) rgba(0,0,0,0)";
this.get("frame").children[1].children[2].style.backgroundColor = backgroundColor;
};

(JS) Bug fix: Error in console on HtmlInfoWindow setBackgroundColor #1850