যানবাহন স্টপ-ওভার কোয়ালিফায়ার ব্যবহার করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আপনি গাড়ির স্টপ-ওভার কোয়ালিফায়ার ব্যবহার করে নির্দিষ্ট করতে পারেন যে একটি ওয়েপয়েন্ট পিক-আপ বা ড্রপ-অফের জন্য থামার জন্য ব্যবহার করা হবে। এটি নিশ্চিত করে যে গণনা করা রুটটি এমন একটি রাস্তায় শুরু বা শেষ হবে না যা পিকআপ এবং ড্রপ-অফের জন্য অনুপযুক্ত (উদাহরণস্বরূপ, একটি হাইওয়ে বা টানেল)।
উদাহরণ ব্যবহার ক্ষেত্রে
পরিস্থিতি বিবেচনা করুন যেখানে একটি সুড়ঙ্গের ভিতরে একটি রাস্তার উপর দিয়ে একটি পৃষ্ঠ রাস্তা অতিক্রম করে। যদি আপনি একটি ওয়েপয়েন্ট উল্লেখ করতে চান যেখানে দুটি রাস্তা ছেদ করে (একটি মানচিত্রে যেমন দেখা যায়), তাহলে ফলস্বরূপ রুটটি পৃষ্ঠের রাস্তা বা টানেলের মাধ্যমে শুরু বা শেষ হবে। এটি একটি সমস্যা উপস্থাপন করে কারণ আপনি পিকআপ বা ড্রপ-অফ করতে টানেলে থামতে পারবেন না।
আপনি যদি পিকআপ বা ড্রপ-অফের জন্য ওয়েপয়েন্ট ব্যবহার করতে চান, তাহলে আপনি vehicleStopover
ক্ষেত্র সেট করতে পারেন, যা নিশ্চিত করে যে ফলস্বরূপ রুটটি এমন একটি রাস্তায় শুরু বা শেষ হয় যা পিকআপ এবং ড্রপ-অফের অনুমতি দেয় (অর্থাৎ, পৃষ্ঠের রাস্তায়)।
উদাহরণ
নিচের উদাহরণটি দেখায় কিভাবে vehicleStopover
কোয়ালিফায়ার সেট করতে হয়।
{
"vehicleStopover": true,
"location": {
"latLng": {
"latitude":37.419734,
"longitude":-122.0827784
}
}
}
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-04-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-04-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Vehicle Stop-over qualifier ensures routes start and end at locations suitable for pickups and drop-offs, avoiding unsuitable roads like highways or tunnels.\u003c/p\u003e\n"],["\u003cp\u003eBy setting \u003ccode\u003evehicleStopover\u003c/code\u003e to true for a waypoint, the calculated route will prioritize accessible roads for pickup and drop-off points.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is particularly useful when a waypoint is located near restricted areas like tunnels, ensuring the route directs to a safe and accessible nearby road.\u003c/p\u003e\n"]]],["The `vehicleStopover` qualifier designates a waypoint for pick-up or drop-off. Setting `vehicleStopover` to `true` ensures the route begins or ends on a suitable road, avoiding unsuitable locations like highways or tunnels. Without this, a waypoint at an intersection (e.g., surface road over a tunnel) could lead to a route beginning or ending in the tunnel. The example demonstrates setting `vehicleStopover` to `true` within a waypoint's definition.\n"],null,["# Use the Vehicle Stop-over Qualifier\n\nYou can use the Vehicle Stop-over qualifier to specify that a waypoint is meant\nto be used for stopping for picking-up or dropping-off. This ensures that the\ncalculated route won't begin or end on a road that is unsuitable for pickup and\ndrop-off (for example, a highway or tunnel).\n\nExample use case\n----------------\n\nConsider the situation where a surface road crosses over a road inside a tunnel.\nIf you were to specify a waypoint located where the two roads intersect (as seen\non a map), then the resulting route would begin or end on either the surface\nroad or the tunnel. This presents a problem because you can't stop in tunnels to\nmake pickups or drop-offs.\n\nIf you want to use the waypoint for a pickup or drop-off, then you could set the\n`vehicleStopover` field, which ensures that the resulting route begins or ends\non a road that allows pickups and drop-offs (that is, on the surface road).\n\nExample\n-------\n\nThe following example demonstrates how to set the\n[`vehicleStopover`](/maps/documentation/routes_preferred/reference/rest/v1alpha/TopLevel/computeRoutes#Waypoint.FIELDS.vehicle_stopover) qualifier. \n\n```cplint\n{\n \"vehicleStopover\": true,\n \"location\": {\n \"latLng\": {\n \"latitude\":37.419734,\n \"longitude\":-122.0827784\n }\n }\n}\n```"]]