Fix: mapsOptions is undefined
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.3.0-beta-201800508-1411" 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.3.0-beta-201800508-1905" 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/CordovaGoogleMaps.js
www/CordovaGoogleMaps.js
@@ -681,7 +681,7 @@ CordovaGoogleMaps.prototype.getPanorama = function(div, streetViewOptions) {
} else {
// Normal code flow
self.MAPS[mapId] = panorama;
- postPanoramaInit.call(self, panorama, div, mapOptions);
+ postPanoramaInit.call(self, panorama, div, streetViewOptions);
}
return panorama;

Fix: mapsOptions is undefined