addLatLng method
Adds a given point to the polyline. By default, adds to the first ring of the polyline in case of a multi-polyline, can be overridden by passing a specific ring as a LatLng array (that you can earlier access with getLatLngs
Implementation
external Polyline addLatLng(LatLng latlng);