Google Cloud Optimization V1 Client - Class EncodedPolyline (0.4.0)

Reference documentation and code samples for the Google Cloud Optimization V1 Client class EncodedPolyline.

The encoded representation of a polyline. More information on polyline encoding can be found here: https://developers.google.com/maps/documentation/utilities/polylinealgorithm https://developers.google.com/maps/documentation/javascript/reference/geometry#encoding.

Generated from protobuf message google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline

Namespace

Google \ Cloud \ Optimization \ V1 \ ShipmentRoute

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ points string

String representing encoded points of the polyline.

getPoints

String representing encoded points of the polyline.

Returns
TypeDescription
string

setPoints

String representing encoded points of the polyline.

Parameter
NameDescription
var string
Returns
TypeDescription
$this