Dostępne opcje ruchu
Gdy wysyłasz żądanie trasy, możesz wybrać, jak interfejs Routes API ma wykorzystywać dane o ruchu drogowym do obliczania trasy. Model natężenia ruchu pozwala uwzględnić w generowaniu tras zarówno warunki historyczne, jak i aktualne natężenie ruchu. Może to wpływać zarówno na to, jakie trasy zostaną wygenerowane, jak i na szacowany czas podróży.
Oto opcje ruchu na trasie:
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-06 UTC.
[null,null,["Ostatnia aktualizacja: 2025-02-06 UTC."],[[["The Routes API offers options to customize how traffic data is used for route calculation, impacting both route selection and estimated travel times."],["You can choose to include or exclude traffic data, impacting the accuracy and speed of the results."],["Traffic-aware polylines provide detailed traffic conditions along the route but come with higher billing rates."],["Different traffic models can be selected to prioritize various factors like historical and live traffic conditions when estimating travel duration."]]],["The Routes API allows users to incorporate traffic data into route calculations. Users can choose to include or exclude traffic data for varying accuracy and response times. They can also opt for traffic-aware polylines, which provide traffic condition details along the route, though this incurs a higher cost. Furthermore, users can specify which traffic model to use, prioritizing factors in calculating travel duration based on traffic conditions.\n"]]