با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
توسعه دهندگان منطقه اقتصادی اروپا (EEA).
می توانید مسیری متناسب با انواع مختلف وسایل نقلیه دریافت کنید. اگر نوع وسیله نقلیه را مشخص نکنید، Routes API از پیشفرض خودروهای بنزینی استفاده میکند.
شما با استفاده از پارامتر travelMode ، حالت حمل و نقل را با انتخاب های حمل و نقل، رانندگی، وسایل نقلیه دو چرخ، پیاده روی یا دوچرخه سواری تنظیم می کنید.
نوع وسیله نقلیه
توضیحات
دوچرخه
مسیری را برای دوچرخه ها و دیگر سفرهای با نیروی انسانی محاسبه کنید. برای وسایل نقلیه موتوری دو چرخ، به دو چرخ مراجعه کنید.
با استفاده از گزینه های حمل و نقل عمومی موجود در منطقه، یک مسیر حمل و نقل برای دستورالعمل های ناوبری دریافت کنید. گزینه های حمل و نقل ممکن است شامل اتوبوس، مترو، و قطار و غیره باشد. یک مسیر ترانزیت نیز معمولاً شامل دستورالعمل هایی در مورد پیاده روی به، از و بین ایستگاه های حمل و نقل است.
دو چرخ به وسایل نقلیه موتوری دو چرخ (مثلاً موتور سیکلت) اطلاق می شود. حالت سفر با دو چرخ با حالت سفر با دوچرخه، که یک حالت سفر با نیروی انسانی است، متفاوت است.
تاریخ آخرین بهروزرسانی 2025-06-20 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-06-20 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe Routes API offers route options tailored to various vehicle types, including cars, two-wheelers, transit, and eco-friendly options, or defaults to a gasoline car if unspecified.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify your preferred mode of transportation using the \u003ccode\u003etravelMode\u003c/code\u003e parameter, selecting from options such as transit, driving, two-wheeled vehicles, walking, or bicycling.\u003c/p\u003e\n"],["\u003cp\u003eWalking, bicycling, and two-wheel routes are currently in beta and may lack comprehensive pedestrian or cycling paths, requiring a user warning in your application.\u003c/p\u003e\n"]]],["The Routes API provides route options for various travel modes, selectable via the `travelMode` parameter. Options include transit, driving (default), two-wheeled vehicles, walking, and bicycling. Users can specify vehicle types for customized routes. Walking, bicycling, and two-wheeled routes are in beta, requiring a warning display to users. Transit routes include public transport like buses, subways, and walking instructions to and from stations. Two-wheeled routes are for motorized vehicles, distinguishing them from human-powered bicycles.\n"],null,["# Available vehicle types for routes\n\n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\nYou can get a route suited to different types of vehicles. If you don't specify\na vehicle type, the Routes API uses the default of a gasoline powered\ncar.\n\nYou set the mode of transportation using the\n[`travelMode`](/maps/documentation/routes/reference/rest/v2/RouteTravelMode) parameter, with\nchoices of transit, driving, two-wheeled vehicles, walking, or bicycling.\n\n\u003cbr /\u003e\n\n| **Note:** Walking, bicycling, and two-wheel routes are in beta and might sometimes be missing clear sidewalks, pedestrian paths, or bicycling paths. You must display this warning to the user for all walking, bicycling, and two-wheel routes that you display in your app.\n\n| Vehicle type | Description |\n|-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Bicycle | Compute a route for bicycles and other human-powered travel. For motorized two-wheeled vehicles, see **Two-wheeled**. |\n| [Drive](/maps/documentation/routes/compute_route_directions) | Compute a driving route. Drive is the default if you don't specify a vehicle type. |\n| [Transit](/maps/documentation/routes/transit-route) | Get a transit route for navigation instructions using the public transportation options available in the region. Transit options may include buses, subways, and trains, among others. A transit route also usually includes instructions on walking to, from, and between transit stations. |\n| [Two-wheeled vehicle](/maps/documentation/routes/route_two_wheel) | Two-wheeler refers to two-wheeled motorized vehicles (for example, motorcycles). The two-wheeler travel mode differs from the bicycle travel mode, which is a human-powered travel mode. |\n| Walk | Compute a walking route. |"]]