קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כשמחשבים מסלול, מסלול בהתאמה אישית או מטריצה של מסלולים, כדאי להביא בחשבון את החיובים על אגרות הנסיעה במסלול.
בערים נבחרות, אפשר לחשב את התשלום המשוער על נסיעה בכביש אגרה במטבע המתאים.
ה-API של Routes Preferred מחשב את עלות האגרה המשוערת, תוך התחשבות בהנחות על מחירי אגרה או באישורים שזמינים לנהג או לרכב, ובאמצעי התשלום הנוחים ביותר.
אם אין מחיר זמין של אגרה למסלול נתון, ב-Routes Preferred API יצוין קיומו של אגרה עם עמלה לא ידועה.
כדי לחשב במדויק את פרטי החיובים בכבישים בתשלום, חשוב לכלול בבקשה את הפרטים הבאים:
סוג הפליטה של הרכב ששימש במסלול (VehicleEmissionType). אם לא צוין סוג פליטה, המערכת תחזיר את התשלום על נסיעה ברכב שפועל על דלק.
כל כרטיס אגרה רלוונטי לנהג או לרכב (TollPass). באזורים מסוימים, נהגים או רכבים עם כרטיס אגרה משלמים אגרה שונה מאלה שאין להם כרטיס.
לדוגמה, אם יש לכם כרטיס Good To Go! לתשלום על כבישי אגרה בסיאטל, וושינגטון, ארה"ב, אתם משלמים על אגרה נמוכה יותר מאשר אם אין לכם כרטיס. באזורים מסוימים, כמו אינדונזיה, יכול להיות שתצטרכו תווית נסיעה בכביש אגרה כדי לנסוע בכביש. אם לא מציינים כרטיס נסיעה בכביש אגרה למסלול שבו נדרש כרטיס כזה, לא מוחזר מחיר.
מידע אופציונלי על כבישי אגרה זמין באזורים הבאים:
קוד אזור
מדינה או אזור
מדינה/עיר/כביש אגרה
AR
ארגנטינה
ארצית
AU
אוסטרליה
בריסביין
AU
אוסטרליה
מלבורן
AU
אוסטרליה
סידני
BR
ברזיל
ארצית
מזהה
אינדונזיה
ארצית
IN
הודו
ארצית
JP
יפן
ארצית
MX
מקסיקו
ארצית
ארה"ב
ארצות הברית
אלבמה
ארה"ב
ארצות הברית
אלסקה
ארה"ב
ארצות הברית
קליפורניה
ארה"ב
ארצות הברית
קולורדו
ארה"ב
ארצות הברית
דלאוור
ארה"ב
ארצות הברית
פלורידה
ארה"ב
ארצות הברית
אילינוי
ארה"ב
ארצות הברית
איווה
ארה"ב
ארצות הברית
אינדיאנה
ארה"ב
ארצות הברית
קנזס
ארה"ב
ארצות הברית
לואיזיאנה
ארה"ב
ארצות הברית
מיין
ארה"ב
ארצות הברית
מרילנד
ארה"ב
ארצות הברית
מסצ'וסטס
ארה"ב
ארצות הברית
מישיגן
ארה"ב
ארצות הברית
מינסוטה
ארה"ב
ארצות הברית
מיזורי
ארה"ב
ארצות הברית
ניו המפשייר
ארה"ב
ארצות הברית
ניו ג'רזי
ארה"ב
ארצות הברית
ניו יורק
ארה"ב
ארצות הברית
קרוליינה הצפונית
ארה"ב
ארצות הברית
אוהיו
ארה"ב
ארצות הברית
פנסילבניה
ארה"ב
ארצות הברית
רוד איילנד
ארה"ב
ארצות הברית
קרוליינה הדרומית
ארה"ב
ארצות הברית
טקסס
ארה"ב
ארצות הברית
יוטה
ארה"ב
ארצות הברית
וירג'יניה
ארה"ב
ארצות הברית
וושינגטון
ארה"ב
ארצות הברית
וירג'יניה המערבית
דוגמאות לחישוב של חיובים על כבישי אגרה זמינות במאמרים הבאים:
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2024-11-14 (שעון UTC)."],[[["\u003cp\u003eThe Routes Preferred API can calculate estimated toll fees for routes in select cities, taking into account toll passes and discounts.\u003c/p\u003e\n"],["\u003cp\u003eTo ensure accurate toll calculations, specify the vehicle's emission type and any applicable toll passes in your request.\u003c/p\u003e\n"],["\u003cp\u003eThe Routes Preferred API's toll calculation differs from Google Maps, focusing on actual charges based on provided pass information.\u003c/p\u003e\n"],["\u003cp\u003eToll fee information is available for specific regions, including countries like Argentina, Australia, and the United States, with varying coverage levels.\u003c/p\u003e\n"],["\u003cp\u003eIf a toll exists but the fee is unknown, the API will indicate its presence without a specific price.\u003c/p\u003e\n"]]],["The Routes Preferred API calculates estimated toll fees for routes, considering discounts and payment methods. To get accurate toll information, specify the vehicle's emission type and any applicable toll passes. If no pass is specified, the cash price (usually the highest) is returned. The API indicates when a toll exists but the fee is unknown. Toll information is available in select regions, including Argentina, Australia, Brazil, Indonesia, India, Japan, Mexico, and various U.S. states.\n"],null,["# Calculate toll fees\n\nWhen you are computing a route,\na [custom route](/maps/documentation/routes_preferred/custom_routes),\nor a [route matrix](/maps/documentation/routes_preferred/compute_route_matrix),\nyou may want to take into consideration any toll fees on the route.\nFor select cities, you can compute the estimated\ntoll fee for a route in the appropriate currency.\n| **Note** : The Routes Preferred API calculates tolls on a route differently than Google Maps:\n|\n| - The Routes Preferred API returns only the toll prices (pass or cash) that would actually be charged for the trip, assuming your request accurately represents what types of passes each driver and/or vehicle has. If you don't specify any toll passes, the API returns the cash prices, which is usually the highest toll.\n| - Google Maps typically returns the cheapest possible price for a vehicle. Users cannot specify which toll passes they have; instead, to see cash tolls, users can disable the **See toll pass prices** option, which is enabled by default.\n\nThe Routes Preferred API calculates the estimated toll fee,\ntaking into consideration any toll price discounts or passes available\nto the driver or vehicle, and the most convenient payment methods.\nIf there is no available toll price for a given route,\nthe Routes Preferred API indicates the existence of a toll\nwith an unknown fee.\n\nTo accurately calculate toll information, make sure you include the following\ninformation in your request:\n\n- The emission type of the vehicle used for the route ([`VehicleEmissionType`](/maps/documentation/routes_preferred/reference/rest/Shared.Types/VehicleEmissionType)). If no emission type is provided, the toll for a gasoline-fueled vehicle is returned.\n- Any toll passes for the driver or vehicle that may apply ([`TollPass`](/maps/documentation/routes_preferred/reference/rest/Shared.Types/TollPass)). In some regions, a driver or vehicle with a toll pass pays a different toll than those who don't have a pass. For example, if you have a [Good To Go!](https://en.wikipedia.org/wiki/Good_to_Go_(toll_collection_system)) toll pass in Seattle, WA, US, you pay a lower toll than if you don't have a pass. In some regions, such as Indonesia, a toll pass may be required to travel on a road. If you don't specify a toll pass for a route where a pass is required, no price is returned.\n\nOptional toll information is available for the following regions:\n\n| Region Code | Country/Region | State/City/Toll Road |\n|-------------|----------------|----------------------|\n| AR | Argentina | Countrywide |\n| AU | Australia | Brisbane |\n| AU | Australia | Melbourne |\n| AU | Australia | Sydney |\n| BR | Brazil | Countrywide |\n| ID | Indonesia | Countrywide |\n| IN | India | Countrywide |\n| JP | Japan | Countrywide |\n| MX | Mexico | Countrywide |\n| US | United States | Alabama |\n| US | United States | Alaska |\n| US | United States | California |\n| US | United States | Colorado |\n| US | United States | Delaware |\n| US | United States | Florida |\n| US | United States | Illinois |\n| US | United States | Iowa |\n| US | United States | Indiana |\n| US | United States | Kansas |\n| US | United States | Louisiana |\n| US | United States | Maine |\n| US | United States | Maryland |\n| US | United States | Massachusetts |\n| US | United States | Michigan |\n| US | United States | Minnesota |\n| US | United States | Missouri |\n| US | United States | New Hampshire |\n| US | United States | New Jersey |\n| US | United States | New York |\n| US | United States | North Carolina |\n| US | United States | Ohio |\n| US | United States | Pennsylvania |\n| US | United States | Rhode Island |\n| US | United States | South Carolina |\n| US | United States | Texas |\n| US | United States | Utah |\n| US | United States | Virginia |\n| US | United States | Washington |\n| US | United States | West Virginia |\n\nFor examples of calculating toll fees, see:\n\n- [Computing a Route Examples](/maps/documentation/routes_preferred/compute_route_examples#toll-fee-examples)\n- [Computing a Custom Route Examples](/maps/documentation/routes_preferred/custom_route_examples#toll-fee-examples)\n- [Computing a Route Matrix Examples](/maps/documentation/routes_preferred/compute_matrix_examples#toll-fee-examples)"]]