Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Разработчики Европейской экономической зоны (ЕЭЗ)
При расчёте матрицы маршрутов может потребоваться учесть любые сборы за проезд по маршрутам, включённым в матрицу. Для некоторых городов можно рассчитать предполагаемую стоимость проезда по маршруту в соответствующей валюте.
Список поддерживаемых пунктов взимания платы см. в справке по TollPass .
Пример матрицы маршрута с оплатой пошлины
В следующем примере метод 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-07-16 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"]]