(JS) Bug fix: Creating Marker with opacity 0
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.1.2-beta-20171102-1056" 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.2-beta-20171102-1112" 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
@@ -581,7 +581,7 @@ function markerOptionsFilter(markerOptions) {
markerOptions.visible = defaultTrueOption(markerOptions.visible);
markerOptions.flat = markerOptions.flat === true;
markerOptions.rotation = markerOptions.rotation || 0;
- markerOptions.opacity = parseFloat("" + markerOptions.opacity, 10) || 1;
+ markerOptions.opacity = markerOptions.opacity === 0 ? 0 : (parseFloat("" + markerOptions.opacity, 10) || 1);
markerOptions.disableAutoPan = markerOptions.disableAutoPan === true;
markerOptions.noCache = markerOptions.noCache === true; //experimental
if (typeof markerOptions.icon === "object") {

(JS) Bug fix: Creating Marker with opacity 0 #1858