(Android/iOS/Browser) Fix: undefined error
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.5.0-beta-20180925-1709" 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.5.0-beta-20180925-1750" 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="Promise" src="www/Promise.js" />
<asset src="www/promise-7.0.4.min.js.map" target="promise-7.0.4.min.js.map" />

MODIFY
www/KmlLoader.js
www/KmlLoader.js
+
var argscheck = require('cordova/argscheck'),
utils = require('cordova/utils'),
common = require('./Common'),
@@ -348,6 +349,7 @@ KmlLoader.prototype.parseKmlTag = function(params, callback) {
KmlLoader.prototype.parseExtendedDataTag = function(params, callback) {
var self = this;
+ if (params.child && params.child.children) {
params.attrHolder.extendeddata = {};
params.child.children.forEach(function(child) {
switch(child.tagName) {
@@ -401,6 +403,7 @@ KmlLoader.prototype.parseExtendedDataTag = function(params, callback) {
break;
}
});
+ }
callback();
};

(Android/iOS/Browser) Fix: undefined error