Skip to content

RoadSnapSnappedGeometry

Source code in docs_src/capo_geo_routes/types/road_snap_snapped_geometry.py
class RoadSnapSnappedGeometry(TypedDict, closed=True):
    line_string: NotRequired["capo_geo_routes.types.line_string.LineString"]
    """<p>An ordered list of positions used to plot a route on a map.</p> <note> <p>LineString and Polyline are mutually exclusive properties.</p> </note>"""
    polyline: NotRequired["capo_geo_routes.types.polyline.Polyline"]
    """<p>An ordered list of positions used to plot a route on a map in a lossy compression format.</p> <note> <p>LineString and Polyline are mutually exclusive properties.</p> </note>"""

line_string instance-attribute

line_string: NotRequired[LineString]

An ordered list of positions used to plot a route on a map.

LineString and Polyline are mutually exclusive properties.

polyline instance-attribute

polyline: NotRequired[Polyline]

An ordered list of positions used to plot a route on a map in a lossy compression format.

LineString and Polyline are mutually exclusive properties.