Punkty pośrednie to punkty pośrednie niebędące punktami końcowymi, które tworzą trasę. Możesz je skonfigurować za pomocą pola prośby intermediates. Domyślnie punkty pośrednie służą do zatrzymywania się w celu podjęcia lub wysadzenia pasażera, ale możesz określić, że punkt pośredni ma służyć tylko do przejazdu.
Konfigurowanie punktu kontrolnego przelotnego
Możesz skonfigurować punkt pośredni jako punkt przelotny, ustawiając pole via.
Przykład
Ten przykład pokazuje, jak oznaczyć punkt pośredni jako punkt przelotu.
[null,null,["Ostatnia aktualizacja: 2024-11-23 UTC."],[[["Intermediate waypoints are used for pick-up/drop-off by default, but can be configured as pass-through points using the `intermediates` request field."],["A pass-through waypoint is set by defining the `via` field as `true` within the waypoint's configuration."],["Routes containing an origin, pass-through waypoint, and destination will only have one leg, connecting the origin and destination while passing through the intermediate point."]]],[]]