Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.24 KB

File metadata and controls

31 lines (22 loc) · 1.24 KB

EncodedPolyline

A Google-style encoded polyline string representing a geographic path between two elements. Includes a configurable precision value (default 1E5) for coordinate encoding/decoding.

Properties

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.

Example

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)

[Back to Model list] [Back to API list] [Back to README]