Reference documentation and code samples for the Google Maps Route 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.maps.routeoptimization.v1.ShipmentRoute.EncodedPolyline
Namespace
Google \ Maps \ RouteOptimization \ V1 \ ShipmentRouteMethods
__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 |
|