Tipi di veicoli con matrice del percorso disponibili
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Sviluppatori nello Spazio economico europeo (SEE)
Puoi ottenere una matrice di percorsi per diversi tipi di veicoli. Se non specifichi un tipo di veicolo, l'API Routes utilizza il valore predefinito AUTO.
Imposta la modalità di viaggio. Puoi scegliere tra guida, veicoli a due ruote, trasporto pubblico o a piedi. Le biciclette non sono supportate per le matrici di percorsi.
Visualizza una matrice dei percorsi dei trasporti pubblici che utilizza le opzioni di trasporto pubblico disponibili nella regione. Le opzioni di trasporto pubblico possono includere, ad esempio, autobus, metropolitane e treni.
[null,null,["Ultimo aggiornamento 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. |"]]