(Browser) Fix: circle.setCenter() does not work
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.4.4-beta-20180913-1300" 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.4.4-beta-20180913-1305" 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">
<runs/>

MODIFY
src/browser/PluginCircle.js
src/browser/PluginCircle.js
@@ -67,10 +67,11 @@ PluginCircle.prototype._create = function(onSuccess, onError, args) {
PluginCircle.prototype.setCenter = function(onSuccess, onError, args) {
var self = this;
var overlayId = args[0];
- var position = args[1];
+ var lat = args[1];
+ var lng = args[2];
var circle = self.pluginMap.objects[overlayId];
if (circle) {
- circle.setCenter(position);
+ circle.setCenter(new google.maps.LatLng(lat, lng));
}
onSuccess();
};

(Browser) Fix: circle.setCenter() does not work