Stay organized with collectionsSave and categorize content based on your preferences.
The Route demo lets you specify an origin and destination as a
latitude/longitude coordinates pair or as a place ID. To copy the latitude/longitude
coordinates, find and click a location on the map, and then paste the location into the
form.
After you selectGet route, the demo displays the response from thecomputeRoutesmethod as a route on the map.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["The Route demo lets you specify an origin and destination as a\nlatitude/longitude coordinates pair or as a place ID. To copy the latitude/longitude\ncoordinates, find and click a location on the map, and then paste the location into the\nform.\n\nAfter you select **Get route** , the demo displays the response from the\n[computeRoutes](/maps/documentation/javascript/reference/route#Route.computeRoutes)\nmethod as a route on the map."]]