is an option for TravelDirections and related functions that specifies the mode of transportation to assume.
TravelMethod
is an option for TravelDirections and related functions that specifies the mode of transportation to assume.
Details
- Possible settings for TravelMethod include:
-
"Biking" biking on allowed paths at 18 km/hr"Driving" driving at speed limits"Walking" walking on walking paths at 5 km/hr
- Driving does not take traffic into account.
Examples
open all close allBasic Examples (3)
The time to travel between two locations depends strongly on the method of transportation:
The travel path may be different for different methods of transportation:
The method of transportation affects, among other things, which types of routes are considered for the path:
Scope (3)
Use TravelMethod in TravelDirections :
Use TravelMethod in TravelDistance :
Use TravelMethod in TravelTime :
See Also
History
Text
Wolfram Research (2015), TravelMethod, Wolfram Language function, https://reference.wolfram.com/language/ref/TravelMethod.html.
CMS
Wolfram Language. 2015. "TravelMethod." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TravelMethod.html.
APA
Wolfram Language. (2015). TravelMethod. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TravelMethod.html
BibTeX
@misc{reference.wolfram_2025_travelmethod, author="Wolfram Research", title="{TravelMethod}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/TravelMethod.html}", note=[Accessed: 08-January-2026]}
BibLaTeX
@online{reference.wolfram_2025_travelmethod, organization={Wolfram Research}, title={TravelMethod}, year={2015}, url={https://reference.wolfram.com/language/ref/TravelMethod.html}, note=[Accessed: 08-January-2026]}