Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Desenvolvedores do Espaço Econômico Europeu (EEE)
Você pode consultar uma matriz de rotas para diferentes tipos de veículos. Se você não especificar
um tipo de veículo, a API Routes vai usar o padrão "DRIVE".
Defina o meio de transporte. Você pode escolher carro, veículos de duas rodas, transporte público ou a pé. Não há suporte para ciclismo em matrizes de rotas.
Você especifica uma matriz de rotas para um veículo motorizado de duas rodas da mesma forma que especifica para uma rota, usando o parâmetro Travel_mode.
Receba uma matriz de trajetos de transporte público que usa as opções de transporte público disponíveis na região. As opções de transporte público podem incluir ônibus, metrôs e trens, entre outros.
[null,null,["Última atualização 2025-06-20 UTC."],[[["\u003cp\u003eThe Routes API offers route matrix calculations for various vehicle types, defaulting to driving if unspecified.\u003c/p\u003e\n"],["\u003cp\u003eSupported vehicle types include driving, two-wheeled vehicles, transit, and walking, with bicycling excluded for route matrixes.\u003c/p\u003e\n"],["\u003cp\u003eTwo-wheeled, walking, and bicycling routes are in beta and require a user-displayed warning due to potential path inaccuracies.\u003c/p\u003e\n"],["\u003cp\u003eTransit route matrixes leverage available public transportation like buses, subways, and trains within the specified region.\u003c/p\u003e\n"]]],[],null,["# Available route matrix vehicle types\n\n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\nYou can get a route matrix for different types of vehicles. If you don't specify\na vehicle type, the Routes API uses the default of DRIVE.\n\n| Vehicle type | Description |\n|-----------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Travel mode](/maps/documentation/routes/reference/rest/v2/RouteTravelMode) | Set the mode of travel. You can choose driving, two-wheeled vehicles, transit, or walking. Bicycling is not supported for route matrixes. | **Note:** Two-wheeled, walking, and bicycling routes are in beta and might sometimes be missing clear sidewalks, pedestrian paths, or bicycling paths. You must display this warning to the user for all two-wheel, walking, or bicycling routes that you display in your app. |\n| [Two-wheeled vehicle](/maps/documentation/routes/route_two_wheel) | You specify a route matrix for a two-wheeled motorized vehicle the same way you specify it for a route, using the `Travel_mode` parameter. |\n| [Transit](/maps/documentation/routes/transit-rm) | Get a transit route matrix that uses the public transportation options available in the region. Transit options may include buses, subways, and trains, among others. |"]]