সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ইউরোপিয়ান ইকোনমিক এরিয়া (EEA) ডেভেলপার
আপনি যখন একটি রুট ম্যাট্রিক্স গণনা করছেন, তখন আপনি ম্যাট্রিক্সের রুটে যে কোনো টোল ফি বিবেচনা করতে চাইতে পারেন। নির্বাচিত শহরগুলির জন্য, আপনি উপযুক্ত মুদ্রায় একটি রুটের জন্য আনুমানিক টোল ফি গণনা করতে পারেন।
সমর্থিত টোল অবস্থানের তালিকার জন্য, টোলপাসের রেফারেন্স দেখুন।
রুট ম্যাট্রিক্স টোল উদাহরণ
নিচের উদাহরণটি computeRouteMatrix পদ্ধতি ব্যবহার করে যখন একটি টোল পাস ব্যবহার করা হয় তখন একটি আনুমানিক মূল্য সহ একটি রুটে টোল তথ্য ফেরত দেয়:
টোল তথ্যের গণনা সক্ষম করতে extraComputations অ্যারে ক্ষেত্রটি TOLLS এ সেট করুন।
অনুরোধের মূল পথপয়েন্টের routeModifiers ফিল্ড ব্যবহার করে গাড়ির ধরন এবং টোল পাসের ধরন নির্দিষ্ট করুন। ফেরত দেওয়া টোল মূল্য নির্দিষ্ট গাড়ির ধরন এবং পাস দ্বারা ব্যবহৃত মূল্যের উপর ভিত্তি করে। একাধিক পাস নির্দিষ্ট করা হলে, সর্বনিম্ন ব্যয়বহুল মূল্য ফেরত দেওয়া হয়।
প্রতিক্রিয়ায় টোল তথ্য ফেরত দেওয়ার পদ্ধতিটি কনফিগার করতে প্রতিক্রিয়া ক্ষেত্র মাস্ক ব্যবহার করুন। পুরো রুটের তথ্য ফেরত দিতে routes.travelAdvisory.tollInfo নির্দিষ্ট করুন।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-09-04 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Routes API's \u003ccode\u003ecomputeRouteMatrix\u003c/code\u003e method allows you to calculate estimated toll fees for routes in supported cities, providing cost insights for route planning.\u003c/p\u003e\n"],["\u003cp\u003eTo enable toll calculations, specify \u003ccode\u003eTOLLS\u003c/code\u003e in the \u003ccode\u003eextraComputations\u003c/code\u003e field and provide vehicle and toll pass details in the \u003ccode\u003erouteModifiers\u003c/code\u003e field within the request.\u003c/p\u003e\n"],["\u003cp\u003eToll prices are estimates and are influenced by factors like vehicle type and toll pass used, with the response including the estimated price in the specified currency.\u003c/p\u003e\n"],["\u003cp\u003eWhile the Route Matrix provides toll information, detailed route specifics are not included; for that, use the \u003ccode\u003eCompute Routes\u003c/code\u003e functionality with single origin and destination points.\u003c/p\u003e\n"],["\u003cp\u003eBe aware that requests including toll fee calculations are billed at a higher rate than standard route matrix requests.\u003c/p\u003e\n"]]],["To calculate toll fees for a route matrix, set the `extraComputations` field to `TOLLS`. Specify the vehicle type and toll pass using the `routeModifiers` field within the origin waypoints; the lowest-cost toll pass pricing will be applied if multiple passes are set. Use the response field mask with `routes.travelAdvisory.tollInfo` to include toll information, and note that toll fee requests have a higher billing rate. The response then contains `estimatedPrice`.\n"],null,[]]