add

Adds a vertex to the end of the polyline being built.

Return

This PolylineOptions object with the given point on the end.

Parameters

point

LatLng point to be added to polyline geometry.


Adds vertices to the end of the polyline being built.

Return

This PolylineOptions object with the given point on the end.

Parameters

points

LatLng points defining the polyline geometry.