Google Cloud Optimization V1 Client - Class EncodedPolyline (1.0.1)

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
Name Description
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
Type Description
string

setPoints

String representing encoded points of the polyline.

Parameter
Name Description
var string
Returns
Type Description
$this