Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Avrupa Ekonomik Alanı (AEA) geliştiricileri
Rota matrisini hesaplarken matristeki rotalardaki tüm otoyol ücretlerini dikkate alabilirsiniz. Belirli şehirlerde, bir rotanın tahmini otoyol ücretini uygun para biriminde hesaplayabilirsiniz.
Desteklenen otoyol geçişi konumlarının listesi için TollPass referansına bakın.
Rota matrisi ücret örneği
Aşağıdaki örnekte, otoyol geçişi kullanıldığında bir rotadaki otoyol ücreti bilgilerini tahmini fiyatla döndürmek için computeRouteMatrix yöntemi kullanılmaktadır:
Geçiş ücreti bilgilerinin hesaplanmasını etkinleştirmek için extraComputations dizi alanını TOLLS olarak ayarlayın.
İsteğin başlangıç yol noktalarının routeModifiers alanını kullanarak araç türünü ve otoyol geçiş türünü belirtin. Döndürülen geçiş ücreti, belirtilen araç türü ve geçiş tarafından kullanılan fiyatlandırmaya dayanır. Birden fazla geçiş belirtilirse en ucuz fiyat döndürülür.
Yanıtta ücret bilgilerini döndürecek yöntemi yapılandırmak için yanıt alanı maskesini kullanın. Rotanın tamamıyla ilgili bilgileri döndürmek için routes.travelAdvisory.tollInfo değerini belirtin.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-06-20 UTC."],[[["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"]]