Maps#
Note
Viewing documentation for the current version v1beta1.
The required Protobuf definitions can be downloaded here:
MapService#
This service provides methods to query the MOIA map.
ListStoppableLocations#
rpc ListStoppableLocations(ListStoppableLocationsRequest) ListStoppableLocationsResponse
List all stoppable locations at given coordinates.
Messages#
ListStoppableLocationsRequest#
Field |
Type |
Description |
---|---|---|
desired_location |
The (customers) location where a pick-up or drop-off is desired. |
|
radius_meters |
double |
Radius in meters from the desired location. |
page_size |
int32 |
The maximum number of locations to return (default 50). |
page_token |
string |
A page token, received from a previous |
ListStoppableLocationsResponse#
Field |
Type |
Description |
---|---|---|
stoppable_locations |
All suitable stoppable locations within the specified radius, sorted in ascending order by the distance to the desired location (as the crow flies). |
|
next_page_token |
string |
A token, which can be sent as |
StaticLocation#
Field |
Type |
Description |
---|---|---|
latitude |
double |
The latitude in degrees. [-90.0, +90.0]. Required |
longitude |
double |
The longitude in degrees. [-180.0, +180.0]. Required |
heading |
double |
The horizontal direction of travel in degrees, measured clockwise from north. [0.0-360.0°, 0.0° = facing north, 180.0° = facing south] |
StoppableLocation#
Field |
Type |
Description |
---|---|---|
vehicle_location |
Location of the vehicle on the street suitable for pickup/drop-off. |
|
distance_meters |
double |
Distance from the desired location (as the crow flies). |