با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ایستگاه های بین راهی، ایستگاه های بین راهی غیر پایانی هستند که یک مسیر را تشکیل می دهند. شما آنها را با استفاده از فیلد درخواست intermediates پیکربندی می کنید. به طور پیشفرض، ایستگاههای بین راهی برای توقف و تحویل استفاده میشوند، اما میتوانید مشخص کنید که یک ایستگاه بینالمللی فقط برای عبور از آن در نظر گرفته شده است.
پیکربندی یک نقطه عبور از طریق
شما می توانید با تنظیم فیلد via ، یک نقطه بین راهی را به عنوان یک نقطه عبور از طریق پیکربندی کنید.
مثال
مثال زیر نشان میدهد که چگونه میتوان یک نقطه میانی را بهعنوان یک نقطه عبور از طریق علامتگذاری کرد.
تاریخ آخرین بهروزرسانی 2025-04-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-04-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eIntermediate waypoints are used for pick-up/drop-off by default, but can be configured as pass-through points using the \u003ccode\u003eintermediates\u003c/code\u003e request field.\u003c/p\u003e\n"],["\u003cp\u003eA pass-through waypoint is set by defining the \u003ccode\u003evia\u003c/code\u003e field as \u003ccode\u003etrue\u003c/code\u003e within the waypoint's configuration.\u003c/p\u003e\n"],["\u003cp\u003eRoutes containing an origin, pass-through waypoint, and destination will only have one leg, connecting the origin and destination while passing through the intermediate point.\u003c/p\u003e\n"]]],["Intermediate waypoints are configurable route points using the `intermediates` field. They can be designated as stops for pickup/drop-off or as pass-through points. To configure a pass-through waypoint, set the `via` field to `true`. A route with a pass-through waypoint includes only one route leg connecting the origin to the destination. The `location` field is required with the lat/lng values for the waypoint.\n"],null,["# Use Intermediate Waypoints\n\nIntermediate waypoints are the non-terminal waypoints that make up a route. You\nconfigure them using the `intermediates` request field. By default, intermediate\nwaypoints are used for stopping to pickup and drop-off, but you can specify that\nan intermediate waypoint is meant just for passing through.\n| **Note:** A route that contains an origin waypoint, a pass-through intermediate waypoint, and a destination waypoint, will contain just one route leg---that connects the origin and the destination, while passing through the intermediate via waypoint.\n\nConfiguring a pass-through waypoint\n-----------------------------------\n\nYou can configure an intermediate waypoint to be a pass-through waypoint by\nsetting the\n[`via`](/maps/documentation/routes_preferred/reference/rest/v1alpha/TopLevel/computeRoutes#Waypoint.FIELDS.via)\nfield.\n\nExample\n-------\n\nThe following example demonstrates how to mark an intermediate waypoint as a\npass-through waypoint. \n\n```cplint\n{\n \"via\": true,\n \"location\": {\n \"latLng\": {\n \"latitude\":37.419734,\n \"longitude\":-122.0827784\n }\n }\n}\n```"]]