RoutingPreference
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
মানগুলির একটি সেট যা রুট গণনা করার সময় বিবেচনা করার বিষয়গুলি নির্দিষ্ট করে৷
এনামস |
---|
ROUTING_PREFERENCE_UNSPECIFIED | কোন রাউটিং পছন্দ নির্দিষ্ট করা নেই. TRAFFIC_UNAWARE এ ডিফল্ট। |
TRAFFIC_UNAWARE | লাইভ ট্রাফিক পরিস্থিতি বিবেচনায় না নিয়েই রুট গণনা করে। উপযুক্ত যখন ট্রাফিক অবস্থা কোন ব্যাপার না বা প্রযোজ্য না হয়. এই মান ব্যবহার করলে সর্বনিম্ন বিলম্ব হয়। দ্রষ্টব্য: RouteTravelMode DRIVE এবং TWO_WHEELER এর জন্য, নির্বাচিত রুট এবং সময়কাল সড়ক নেটওয়ার্ক এবং গড় সময়-স্বাধীন ট্রাফিক অবস্থার উপর ভিত্তি করে, বর্তমান রাস্তার অবস্থার উপর ভিত্তি করে নয়। ফলস্বরূপ, রুটগুলির মধ্যে সাময়িকভাবে বন্ধ থাকা রাস্তাগুলি অন্তর্ভুক্ত থাকতে পারে৷ রাস্তার নেটওয়ার্কে পরিবর্তন, আপডেট হওয়া গড় ট্রাফিক পরিস্থিতি এবং পরিষেবার বিতরণ প্রকৃতির কারণে একটি প্রদত্ত অনুরোধের ফলাফল সময়ের সাথে পরিবর্তিত হতে পারে। যেকোনো সময় বা ফ্রিকোয়েন্সিতে প্রায়-সমতুল্য রুটের মধ্যেও ফলাফল পরিবর্তিত হতে পারে। |
TRAFFIC_AWARE | লাইভ ট্রাফিক পরিস্থিতি বিবেচনায় নিয়ে রুট গণনা করে। TRAFFIC_AWARE_OPTIMAL এর বিপরীতে, উল্লেখযোগ্যভাবে বিলম্ব কমাতে কিছু অপ্টিমাইজেশান প্রয়োগ করা হয়৷ |
TRAFFIC_AWARE_OPTIMAL | সর্বাধিক কর্মক্ষমতা অপ্টিমাইজেশান প্রয়োগ না করে লাইভ ট্রাফিক অবস্থা বিবেচনায় নেওয়া রুটগুলি গণনা করে৷ এই মান ব্যবহার করে সর্বোচ্চ লেটেন্সি তৈরি করে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eRouting preferences determine how routes are calculated, considering factors like traffic conditions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTRAFFIC_UNAWARE\u003c/code\u003e provides the fastest routes without considering real-time traffic, suitable when traffic is irrelevant.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTRAFFIC_AWARE\u003c/code\u003e balances speed and accuracy by incorporating live traffic data with some optimizations for reduced latency.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTRAFFIC_AWARE_OPTIMAL\u003c/code\u003e prioritizes accuracy, calculating routes based on real-time traffic for the most precise ETAs, but may have higher latency.\u003c/p\u003e\n"],["\u003cp\u003eThe default setting is \u003ccode\u003eTRAFFIC_UNAWARE\u003c/code\u003e if no routing preference is specified using \u003ccode\u003eROUTING_PREFERENCE_UNSPECIFIED\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document defines four routing preference values: `ROUTING_PREFERENCE_UNSPECIFIED` (defaulting to `TRAFFIC_UNAWARE`), `TRAFFIC_UNAWARE` (ignores live traffic, offering lowest latency and relying on average conditions), `TRAFFIC_AWARE` (considers live traffic with some latency optimizations), and `TRAFFIC_AWARE_OPTIMAL` (considers live traffic without optimizations, resulting in highest latency). When choosing routes with the drive or two-wheeler travel mode, only average time-independent conditions are considered, with possible inclusions of closed roads.\n"],null,["# RoutingPreference\n\nA set of values that specify factors to take into consideration when calculating the route.\n\n| Enums ||\n|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ROUTING_PREFERENCE_UNSPECIFIED` | No routing preference specified. Default to `TRAFFIC_UNAWARE`. |\n| `TRAFFIC_UNAWARE` | Computes routes without taking live traffic conditions into consideration. Suitable when traffic conditions don't matter or are not applicable. Using this value produces the lowest latency. Note: For [`RouteTravelMode`](/maps/documentation/routes/reference/rest/v2/RouteTravelMode) `DRIVE` and `TWO_WHEELER`, the route and duration chosen are based on road network and average time-independent traffic conditions, not current road conditions. Consequently, routes may include roads that are temporarily closed. Results for a given request may vary over time due to changes in the road network, updated average traffic conditions, and the distributed nature of the service. Results may also vary between nearly-equivalent routes at any time or frequency. |\n| `TRAFFIC_AWARE` | Calculates routes taking live traffic conditions into consideration. In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to significantly reduce latency. |\n| `TRAFFIC_AWARE_OPTIMAL` | Calculates the routes taking live traffic conditions into consideration, without applying most performance optimizations. Using this value produces the highest latency. |"]]