Implement setPointAt of PluginPolyline.js
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.3.12-ext-20180815-0944" 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.12-ext-20180815-1217" 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
src/browser/PluginPolyline.js
src/browser/PluginPolyline.js
@@ -80,6 +80,19 @@ PluginPolyline.prototype.remove = function(onSuccess, onError, args) {
onSuccess();
};
+PluginPolyline.prototype.setPointAt = function(onSuccess, onError, args) {
+ var self = this;
+ var overlayId = args[0];
+ var polyline = self.pluginMap.objects[overlayId];
+ if (polyline) {
+ var index = args[1];
+ var latLng = new google.maps.LatLng(args[2].lat, args[2].lng);
+ var opts = self.pluginMap.objects['polyline_property_' + overlayId];
+ opts.path.setAt(index, latLng);
+ }
+ onSuccess();
+};
+
PluginPolyline.prototype._onPolylineEvent = function(polyline, polyMouseEvt) {
var self = this,
mapId = self.pluginMap.id;

Implement setPointAt of PluginPolyline.js