update: can not build the plugin with --browserify option
MODIFY
www/googlemaps-cdv-plugin.js
www/googlemaps-cdv-plugin.js
/* global cordova, plugin, CSSPrimitiveValue */
+if (cordova) {
var MAP_CNT = 0;
-if (!cordova) {
- return;
-}
var argscheck = require('cordova/argscheck'),
utils = require('cordova/utils'),
cordova_exec = require('cordova/exec'),
@@ -607,3 +605,5 @@ cordova.addConstructor(function() {
once: true
});
});
+
+}

update: can not build the plugin with --browserify option (#1616)