Class Location (1.9.0)

Location(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Encapsulates a location (a geographic point, and an optional heading).

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
lat_lng google.type.latlng_pb2.LatLng
The waypoint's geographic coordinates.
heading int
The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, etc. This field is a member of oneof_ _heading.