A Google-style encoded polyline string representing a geographic path between two elements. Includes a configurable precision value (default 1E5) for coordinate encoding/decoding.
| Name | Type | Description | Notes |
|---|---|---|---|
| encoded_polyline | str | An encoded polyline (see e.g.: https://developers.google.com/maps/documentation/utilities/polylinealgorithm). | |
| precision | float | The precision of the encoded polyline. |
from touroptimizer_py_client.models.encoded_polyline import EncodedPolyline
# TODO update the JSON string below
json = "{}"
# create an instance of EncodedPolyline from a JSON string
encoded_polyline_instance = EncodedPolyline.from_json(json)
# print the JSON string representation of the object
print(EncodedPolyline.to_json())
# convert the object into a dict
encoded_polyline_dict = encoded_polyline_instance.to_dict()
# create an instance of EncodedPolyline from a dict
encoded_polyline_from_dict = EncodedPolyline.from_dict(encoded_polyline_dict)