تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
عند احتساب مصفوفة المسارات، قد تحتاج إلى مراعاة
أي رسوم رسوم مرور على المسارات الواردة في المصفوفة. في مدن محدّدة، يمكنك احتساب
رسوم المرور المقدَّرة لمسار معيّن بالعملة المناسبة.
للحصول على قائمة المواقع الجغرافية التي تتوفّر فيها رسوم المرور، يُرجى الاطّلاع على مرجع TollPass.
مثال على رسوم مصفوفة المسارات
يستخدِم المثال التالي الإجراء
computeRouteMatrix
لعرض معلومات الرسوم على مسار مع تحديد
السعر المقدَّر عند استخدام بطاقة رسوم:
اضبط حقل صفيف extraComputations على TOLLS لتفعيل احتساب
معلومات الرسوم.
حدِّد نوع المركبة ونوع بطاقة المرور باستخدام الحقل
routeModifiers لنقاط الطريق المصدر للطلب. يستند سعر رسوم العبور
المعروض إلى الأسعار المستخدَمة لنوع المركبة
وتذكرة العبور المحدّدَين. في حال تحديد أكثر من بطاقة واحدة، يتم عرض السعر الأقل تكلفة.
استخدِم قناع حقل الردّ لضبط الطريقة التي يتم بها
عرض معلومات الرسوم في الردّ. حدِّد
routes.travelAdvisory.tollInfo لعرض معلومات عن المسار بأكمله.
تاريخ التعديل الأخير: 2025-02-06 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-02-06 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The Routes API's `computeRouteMatrix` method allows you to calculate estimated toll fees for routes in supported cities, providing cost insights for route planning."],["To enable toll calculations, specify `TOLLS` in the `extraComputations` field and provide vehicle and toll pass details in the `routeModifiers` field within the request."],["Toll 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."],["While the Route Matrix provides toll information, detailed route specifics are not included; for that, use the `Compute Routes` functionality with single origin and destination points."],["Be aware that requests including toll fee calculations are billed at a higher rate than standard route matrix requests."]]],["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"]]