Bug fix: polyline.setPoints() does not work in iOS
MODIFY
README.md
README.md
-# Cordova GoogleMaps plugin for iOS and Android (version 2.3.8)
+# Cordova GoogleMaps plugin for iOS and Android (version 2.3.9 beta)
This plugin is a thin wrapper for [Google Maps Android API](https://developers.google.com/maps/documentation/android/) and [Google Maps SDK for iOS](https://developers.google.com/maps/documentation/ios/).
@@ -75,6 +75,9 @@ In order to keep this plugin as free, please consider to donate little amount fo
---------------------------------------------------------------------------------------------------------
## Release Notes
+ - **v2.3.9**
+ - fix: polyline.setPoints() does not work in iOS
+
- **v2.3.8**
- Hot fix: v2.3.7 does not work for iOS. Sorry about that.:pensive:

MODIFY
package.json
package.json
{
"name": "cordova-plugin-googlemaps",
- "version": "2.3.8",
+ "version": "2.3.9-beta-20180720-1306",
"description": "Google Maps native SDK for Android and iOS",
"cordova": {
"id": "cordova-plugin-googlemaps",
"type": "git",
"url": "https://github.com/mapsplugin/cordova-plugin-googlemaps.git"
},
+ "bin": {
+ "gmaps_cli": "gmaps_cli.js"
+ },
"keywords": [
"google",
"maps",

MODIFY
src/ios/GoogleMaps/PluginPolyline.m
src/ios/GoogleMaps/PluginPolyline.m
for (int i = 0; i < positionList.count; i++) {
latLng = [positionList objectAtIndex:i];
position = CLLocationCoordinate2DMake([[latLng objectForKey:@"lat"] doubleValue], [[latLng objectForKey:@"lng"] doubleValue]);
+ [mutablePath addCoordinate:position];
}
// update the property

Bug fix: polyline.setPoints() does not work in iOS #2349