directions
The Directions API is a web service that uses an HTTP request to return JSON or XML-formatted directions between locations. You can receive directions for several modes of transportation, such as transit, driving, walking, or cycling.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
arrival_time | string | Specifies the desired time of arrival for transit directions, in seconds since midnight, January 1, 1970 UTC. You can specify either departure_time or arrival_time , but not both. Note that arrival_time must be specified as an integer. | |
departure_time | string | Specifies the desired time of departure. You can specify the time as an integer in seconds since midnight, January 1, 1970 UTC. If a departure_time later than 9999-12-31T23:59:59.999999999Z is specified, the API will fall back the departure_time to 9999-12-31T23:59:59.999999999Z. Alternatively, you can specify a value of now, which sets the departure time to the current time (correct to the nearest second). The departure time may be specified in two cases: |
- For requests where the travel mode is transit: You can optionally specify one of
departure_time
orarrival_time
. If neither time is specified, thedeparture_time
defaults to now (that is, the departure time defaults to the current time). - For requests where the travel mode is driving: You can specify the
departure_time
to receive a route and trip duration (response field: duration_in_traffic) that take traffic conditions into account. Thedeparture_time
must be set to the current time or some time in the future. It cannot be in the past.
<div class="note">Note: If departure time is not specified, choice of route and duration are based on road network and average time-independent traffic conditions. Results for a given request may vary over time due to changes in the road network, updated average traffic conditions, and the distributed nature of the service. Results may also vary between nearly-equivalent routes at any time or frequency.</div>
<div class="note">Note: Distance Matrix requests specifying departure_time
when mode=driving
are limited to a maximum of 100 elements per request. The number of origins times the number of destinations defines the number of elements.</div>
|
| alternatives
| string | | If set to true
, specifies that the Directions service may provide more than one route alternative in the response. Note that providing route alternatives may increase the response time from the server. This is only available for requests without intermediate waypoints. For more information, see the guide to waypoints.
|
| avoid
| string | | Indicates that the calculated route(s) should avoid the indicated features. This parameter supports the following arguments:
tolls
indicates that the calculated route should avoid toll roads/bridges.highways
indicates that the calculated route should avoid highways.ferries
indicates that the calculated route should avoid ferries.indoor
indicates that the calculated route should avoid indoor steps for walking and transit directions.
It's possible to request a route that avoids any combination of tolls, highways and ferries by passing multiple restrictions to the avoid parameter. For example:
avoid=tolls|highways|ferries.
|
| destination
| string | | (Required) The place ID, address, or textual latitude/longitude value to which you wish to calculate directions. The options for the destination parameter are the same as for the origin parameter. |
| origin
| string | | (Required) The place ID, address, or textual latitude/longitude value from which you wish to calculate directions.
-
Place IDs must be prefixed with
place_id:
. You can retrieve place IDs from the Geocoding API and the Places API (including Place Autocomplete). For an example using place IDs from Place Autocomplete, see Place Autocomplete and Directions. For more about place IDs, see the Place ID overview.origin=place_id:ChIJ3S-JXmauEmsRUcIaWtf4MzE
-
If you pass an address, the Directions service geocodes the string and converts it to a latitude/longitude coordinate to calculate directions. This coordinate may be different from that returned by the Geocoding API, for example a building entrance rather than its center.
origin=24+Sussex+Drive+Ottawa+ON
Using place IDs is preferred over using addresses or latitude/longitude coordinates. Using coordinates will always result in the point being snapped to the road nearest to those coordinates - which may not be an access point to the property, or even a road that will quickly or safely lead to the destination.
-
If you pass coordinates, the point will snap to the nearest road. Passing a place ID is preferred. If you do pass coordinates, ensure that no space exists between the latitude and longitude values.
origin=41.43206,-81.38992
-
Plus codes must be formatted as a global code or a compound code. Format plus codes as shown here (plus signs are url-escaped to
%2B
and spaces are url-escaped to%20
).- Global code is a 4 character area code and 6 character or longer local code (849VCWC8+R9 is
849VCWC8%2BR9
). - Compound code is a 6 character or longer local code with an explicit location (CWC8+R9 Mountain View, CA, USA is
CWC8%2BR9%20Mountain%20View%20CA%20USA
).
- Global code is a 4 character area code and 6 character or longer local code (849VCWC8+R9 is
<div class="note">Note: For efficiency and accuracy, use place ID's when possible. These ID's are uniquely explicit like a lat/lng value pair and provide geocoding benefits for routing such as access points and traffic variables. Unlike an address, ID's do not require the service to perform a search or an intermediate request for place details; therefore, performance is better.</div>
|
| units
| string | | Specifies the unit system to use when displaying results.
Directions results contain text within distance fields that may be displayed to the user to indicate the distance of a particular "step" of the route. By default, this text uses the unit system of the origin's country or region.
For example, a route from "Chicago, IL" to "Toronto, ONT" will display results in miles, while the reverse route will display results in kilometers. You may override this unit system by setting one explicitly within the request's units parameter, passing one of the following values:
metric
specifies usage of the metric system. Textual distances are returned using kilometers and meters.imperial
specifies usage of the Imperial (English) system. Textual distances are returned using miles and feet.
<div class="note">Note: this unit system setting only affects the text displayed within distance fields. The distance fields also contain values which are always expressed in meters.</div>
|
| waypoints
| string | | <div class="caution">Caution: Requests using more than 10 waypoints (between 11 and 25), or waypoint optimization, are billed at a higher rate. <a href="https://developers.google.com/maps/billing-and-pricing/pricing#directions-advanced">Learn more about billing</a> for Google Maps Platform products.</div>
Specifies an array of intermediate locations to include along the route between the origin and destination points as pass through or stopover locations. Waypoints alter a route by directing it through the specified location(s). The API supports waypoints for these travel modes: driving, walking and bicycling; not transit. You can supply one or more locations separated by the pipe character (|
or %7C
), in the form of a place ID, an address, or latitude/longitude coordinates. By default, the Directions service calculates a route using the waypoints in the order they are given. The precedence for parsing the value of the waypoint is place ID, latitude/longitude coordinates, then address.
- If you pass a place ID, you must prefix it with
place_id:
. You can retrieve place IDs from the Geocoding API and the Places API (including Place Autocomplete). For an example using place IDs from Place Autocomplete, see Place Autocomplete and Directions. For more about place IDs, see the Place ID overview. <div class="note">For efficiency and accuracy, use place ID's when possible. These ID's are uniquely explicit like a lat/lng value pair and provide geocoding benefits for routing such as access points and traffic variables. Unlike an address, ID's do not require the service to perform a search or an intermediate request for place details; therefore, performance is better.</div> - If you pass latitude/longitude coordinates, the values go directly to the front-end server to calculate directions without geocoding. The points are snapped to roads and might not provide the accuracy your app needs. Use coordinates when you are confident the values truly specify the points your app needs for routing without regard to possible access points or additional geocoding details. Ensure that a comma (
%2C
) and not a space (%20
) separates the latitude and longitude values. - If you pass an address, the Directions service will geocode the string and convert it into latitude/longitude coordinates to calculate directions. If the address value is ambiguous, the value might evoke a search to disambiguate from similar addresses. For example, "1st Street" could be a complete value or a partial value for "1st street NE" or "1st St SE". This result may be different from that returned by the Geocoding API. You can avoid possible misinterpretations using place IDs.
- Alternatively, you can supply an encoded set of points using the Encoded Polyline Algorithm. You will find an encoded set is useful for a large number of waypoints, because the URL is significantly shorter. All web services have a URL limit of 8192 characters.
- Encoded polylines must be prefixed with
enc:
and followed by a colon (:
). For example:waypoints=enc:gfo}EtohhU:
. - You can also include multiple encoded polylines, separated by the pipe character (
|
). For example,waypoints=via:enc:wc~oAwquwMdlTxiKtqLyiK:|enc:c~vnAamswMvlTor@tjGi}L:| via:enc:udymA{~bxM:
- Encoded polylines must be prefixed with
Influence routes with stopover and pass through points
For each waypoint in the request, the directions response appends an entry to the legs
array to provide the details for stopovers on that leg of the journey.
If you'd like to influence the route using waypoints without adding a stopover, add the prefix via:
to the waypoint. Waypoints prefixed with via:
will not add an entry to the legs
array, but will route the journey through the waypoint.
The following URL modifies the previous request such that the journey is routed through Lexington without stopping:
https://maps.googleapis.com/maps/api/directions/json?
origin=Boston,MA&destination=Concord,MA
&waypoints=Charlestown,MA|via:Lexington,MA
The via:
prefix is most effective when creating routes in response to the user dragging the waypoints on the map. Doing so allows the user to see how the final route may look in real-time and helps ensure that waypoints are placed in locations that are accessible to the Directions API.
<div class="caution">Caution: Using the via:
prefix to avoid stopovers results in directions that are strict in their interpretation of the waypoint. This interpretation may result in severe detours on the route or ZERO_RESULTS
in the response status code if the Directions API is unable to create directions through that point.</div>
Optimize your waypoints
By default, the Directions service calculates a route through the provided waypoints in their given order. Optionally, you may pass optimize:true
as the first argument within the waypoints parameter to allow the Directions service to optimize the provided route by rearranging the waypoints in a more efficient order. (This optimization is an application of the traveling salesperson problem.) Travel time is the primary factor which is optimized, but other factors such as distance, number of turns and many more may be taken into account when deciding which route is the most efficient. All waypoints must be stopovers for the Directions service to optimize their route.
If you instruct the Directions service to optimize the order of its waypoints, their order will be returned in the waypoint_order
field within the routes object. The waypoint_order
field returns values which are zero-based.
The following example calculates a road journey from Adelaide, South Australia to each of South Australia's main wine regions using route optimization.
https://maps.googleapis.com/maps/api/directions/json?
origin=Adelaide,SA&destination=Adelaide,SA
&waypoints=optimize:true|Barossa+Valley,SA|Clare,SA|Connawarra,SA|McLaren+Vale,SA
Inspection of the calculated route will indicate that calculation uses waypoints in the following waypoint order:
"waypoint_order": [ 3, 2, 0, 1 ]
<div class="caution">Caution: Requests using waypoint optimization are billed at a higher rate. <a href="https://developers.google.com/maps/billing-and-pricing/pricing#directions-advanced">Learn more about how Google Maps Platform products are billed.</a></div>
|
| language
| string | | The language in which to return results.
-
See the list of supported languages. Google often updates the supported languages, so this list may not be exhaustive.
-
If
language
is not supplied, the API attempts to use the preferred language as specified in theAccept-Language
header. -
The API does its best to provide a street address that is readable for both the user and locals. To achieve that goal, it returns street addresses in the local language, transliterated to a script readable by the user if necessary, observing the preferred language. All other addresses are returned in the preferred language. Address components are all returned in the same language, which is chosen from the first component.
-
If a name is not available in the preferred language, the API uses the closest match.
-
The preferred language has a small influence on the set of results that the API chooses to return, and the order in which they are returned. The geocoder interprets abbreviations differently depending on language, such as the abbreviations for street types, or synonyms that may be valid in one language but not in another. For example, utca and tér are synonyms for street in Hungarian. | |
mode
| string | | For the calculation of distances and directions, you may specify the transportation mode to use. By default,DRIVING
mode is used. By default, directions are calculated as driving directions. The following travel modes are supported: -
driving
(default) indicates standard driving directions or distance using the road network. -
walking
requests walking directions or distance via pedestrian paths & sidewalks (where available). -
bicycling
requests bicycling directions or distance via bicycle paths & preferred streets (where available). -
transit
requests directions or distance via public transit routes (where available). If you set the mode to transit, you can optionally specify either adeparture_time
or anarrival_time
. If neither time is specified, thedeparture_time
defaults to now (that is, the departure time defaults to the current time). You can also optionally include atransit_mode
and/or atransit_routing_preference
.
<div class="note">Note: Both walking and bicycling directions may sometimes not include clear pedestrian or bicycling paths, so these directions will return warnings in the returned result which you must display to the user.</div>
|
| region
| string | | The region code, specified as a ccTLD ("top-level domain") two-character value. Most ccTLD codes are identical to ISO 3166-1 codes, with some notable exceptions. For example, the United Kingdom's ccTLD is "uk" (.co.uk) while its ISO 3166-1 code is "gb" (technically for the entity of "The United Kingdom of Great Britain and Northern Ireland"). |
| traffic_model
| string | | Specifies the assumptions to use when calculating time in traffic. This setting affects the value returned in the duration_in_traffic field in the response, which contains the predicted time in traffic based on historical averages. The traffic_model
parameter may only be specified for driving directions where the request includes a departure_time
. The available values for this parameter are:
best_guess
(default) indicates that the returned duration_in_traffic should be the best estimate of travel time given what is known about both historical traffic conditions and live traffic. Live traffic becomes more important the closer thedeparture_time
is to now.pessimistic
indicates that the returned duration_in_traffic should be longer than the actual travel time on most days, though occasional days with particularly bad traffic conditions may exceed this value.optimistic
indicates that the returned duration_in_traffic should be shorter than the actual travel time on most days, though occasional days with particularly good traffic conditions may be faster than this value. The default value ofbest_guess
will give the most useful predictions for the vast majority of use cases. It is possible thebest_guess
travel time prediction may be shorter thanoptimistic
, or alternatively, longer thanpessimistic
, due to the way thebest_guess
prediction model integrates live traffic information. | |transit_mode
| string | | Specifies one or more preferred modes of transit. This parameter may only be specified for transit directions. The parameter supports the following arguments:bus
indicates that the calculated route should prefer travel by bus.subway
indicates that the calculated route should prefer travel by subway.train
indicates that the calculated route should prefer travel by train.tram
indicates that the calculated route should prefer travel by tram and light rail.rail
indicates that the calculated route should prefer travel by train, tram, light rail, and subway. This is equivalent totransit_mode=train|tram|subway
. | |transit_routing_preference
| string | | Specifies preferences for transit routes. Using this parameter, you can bias the options returned, rather than accepting the default best route chosen by the API. This parameter may only be specified for transit directions. The parameter supports the following arguments:less_walking
indicates that the calculated route should prefer limited amounts of walking.fewer_transfers
indicates that the calculated route should prefer a limited number of transfers. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"geocoded_waypoints":[{"geocoder_status":"OK","place_id":"ChIJwZNMti1fawwRO2aVVVX2yKg","types":["locality","political"]},{"geocoder_status":"OK","place_id":"ChIJ3aPgQGtXawwRLYeiBMUi7bM","types":["locality","political"]}],"routes":[{"bounds":{"northeast":{"lat":27.7564327,"lng":-17.9710024},"southwest":{"lat":27.6411131,"lng":-18.0481367}},"copyrights":"Map data ©2022 Inst. Geogr. Nacional","legs":[{"distance":{"text":"38.5 km","value":38482},"duration":{"text":"55 mins","value":3312},"end_address":"38917 La Restinga, Santa Cruz de Tenerife, Spain","end_location":{"lat":27.6412095,"lng":-17.9818845},"start_address":"38911 La Frontera, Santa Cruz de Tenerife, Santa Cruz de Tenerife, Spain","start_location":{"lat":27.7548015,"lng":-18.0095701},"steps":[{"distance":{"text":"64 m","value":64},"duration":{"text":"1 min","value":9},"end_location":{"lat":27.7550564,"lng":-18.0089896},"html_instructions":"Head \u003cb\u003enortheast\u003c/b\u003e on \u003cb\u003eC. el Rumbaso\u003c/b\u003e toward \u003cb\u003eC. Cruz Alta\u003c/b\u003e/\u003cwbr/\u003e\u003cb\u003eC. Frontera Dos\u003c/b\u003e","polyline":{"points":"ozkhDxn|lBIWi@{A"},"start_location":{"lat":27.7548015,"lng":-18.0095701},"travel_mode":"DRIVING"},{"distance":{"text":"0.3 km","value":302},"duration":{"text":"1 min","value":54},"end_location":{"lat":27.7531414,"lng":-18.0093196},"html_instructions":"Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eC. Cruz Alta\u003c/b\u003e/\u003cwbr/\u003e\u003cb\u003eC. Frontera Dos\u003c/b\u003e\u003cdiv style=\"font-size:0.9em\"\u003eContinue to follow C. Frontera Dos\u003c/div\u003e","maneuver":"turn-right","polyline":{"points":"c|khDdk|lBJE^Q`@Q~@a@z@]BA\\OZO^QLd@V|@Rp@\\hA"},"start_location":{"lat":27.7550564,"lng":-18.0089896},"travel_mode":"DRIVING"},{"distance":{"text":"50 m","value":50},"duration":{"text":"1 min","value":15},"end_location":{"lat":27.7530963,"lng":-18.0088163},"html_instructions":"Sharp \u003cb\u003eleft\u003c/b\u003e onto \u003cb\u003eC. Amador\u003c/b\u003e","maneuver":"turn-sharp-left","polyline":{"points":"cpkhDfm|lBBE?C?C@E@g@?g@"},"start_location":{"lat":27.7531414,"lng":-18.0093196},"travel_mode":"DRIVING"},{"distance":{"text":"61 m","value":61},"duration":{"text":"1 min","value":13},"end_location":{"lat":27.7525596,"lng":-18.0089335},"html_instructions":"Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eC. Constitución\u003c/b\u003e/\u003cwbr/\u003e\u003cb\u003eTr.ª Amador\u003c/b\u003e","maneuver":"turn-right","polyline":{"points":"{okhDbj|lBfALb@F"},"start_location":{"lat":27.7530963,"lng":-18.0088163},"travel_mode":"DRIVING"},{"distance":{"text":"16.7 km","value":16666},"duration":{"text":"23 mins","value":1363},"end_location":{"lat":27.7372254,"lng":-17.9937641},"html_instructions":"Turn \u003cb\u003eleft\u003c/b\u003e onto \u003cb\u003eC. el Congreso\u003c/b\u003e/\u003cwbr/\u003e\u003cb\u003eHI-1\u003c/b\u003e\u003cdiv style=\"font-size:0.9em\"\u003eContinue to follow HI-1\u003c/div\u003e","maneuver":"turn-left","polyline":{"points":"olkhDxj|lBCu@QkC?AGo@?AE[Ie@CIACKa@IUEMOe@Mc@Oc@Oc@Mc@Oe@}@qCEMYy@Uq@IOAECCMUOOCCOIICGACAWCG?EA[ESESEQGIECCMMCCKKMQW]KO}BkDCCGKOSGKGOEMCMCM?K?IBK@GBGFKJONKLIVK`@O@?RGDABAB?FAFAL?@?D@H@H@HB^NLVDFPXh@fAPZRb@BBHLJHJJh@d@NLf@d@@@XTZXXTX`@V^JLl@|@`@j@LPJLTVRL@@NJDBdB|@p@^JF^Ph@XZN`@TTLHDFDHFDDDB@@JLHJRXBD@@NVJLJNBDHJJTFNDJRh@@D\\`ANd@Nb@Nb@^fANb@\\bAb@lANb@BJVt@@FN`@@@P`@Pb@N^Pd@DHLVLVFHDFPPf@d@NRDHHNFPDRFx@?@Df@Bn@F^F`@BDLb@FTPj@FLDJLRHJTNTLRJJFd@RXRLNFHJPDL@BJTDLNb@HVJVP`@PTFJNPV\\RXBBV\\BBNTBBDHFNDVBT@VARABKh@ENALAR?P?T?T@J@V?BFf@LrADb@BNBVHdARxA@NBTFf@?BHv@@R@H?R?J?LCTKv@[tACNWfAABG^AFALAR@TF|@@@Df@NpAJlABT@PBV?R?JCRARE`@Ef@KdACTIx@MnAGd@Ef@G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K?W?M?A@G@M@EBEDKDEHK@CFMHUHUFKJSFM@GDM@M@S?U?AAg@AIA]AYCMAIG]?EGa@Mu@CWMs@CICGUg@KYEIi@aAQ]AAU]IQIQGOCQACAKCU?EGm@Gk@E]?KUyBKy@G]AKACCIGOEGEGKQcB_CEGYe@i@u@_@i@MSGKEKACAGCKCMCSCQ?EAUE[E}@ASAS?GAGCMGOAGQYGKKSGMIMCMCMESEQCQAAEKMOOQGGIGEIEGCKEQCK?EE_@AKCKGOSYEGUWCCKQ[_@IMGIEGCGEKCIEOAAISEOACKYGSCIAK?A?G@I@IBK@GBQDUDS@IBGFU@EFO`@eAFYJa@BKDS?G?E?SAQGi@Ga@CUIi@EMIa@ACCGCKIK?AEIMMKIIGIEIEMGGCEEEIAEAG?I?C?K?Q?G?O?W?SAS?AEe@Cc@Gk@AMGU?CCGCGEIEEEGEIEIAECMCYCU?QASAS?U@S@k@@Y@]@_@A}@?sBAqA?MEoB?ICc@?CAQEYCSCOIe@ACMa@?AGOGQGOESMe@U}@c@sBKe@CKGY_@gBCIwAuFGQKc@?AMe@Me@"},"start_location":{"lat":27.7525596,"lng":-18.0089335},"travel_mode":"DRIVING"},{"distance":{"text":"4.1 km","value":4058},"duration":{"text":"6 mins","value":370},"end_location":{"lat":27.7196513,"lng":-17.9933045},"html_instructions":"Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eHI-40\u003c/b\u003e","maneuver":"turn-right","polyline":{"points":"ulhhD~kylB\\EFAXEPCPAFAD?D?D?F@@?@?B@DBFDHF@@\\P^RJDHBD@D@D?Z?X?Z@P@B?NDLB@@LDF@HD?@JFLHBBFHJJDDDDDJBDDHBNBJ?L@L?F?H?BAHCLAFAF?F@D@F@BBBBDDFDBJHHDJBJBDAD?JALC@?`@M@?JKJK@APWDEDEPGF?B?h@Bn@?LATAL?^ARCXEZKZMBADAH?H?D@B@D@B@PRRR~@v@RNBDB@B@D@D@D?DADCBCDILc@FWHe@?ADU@M@Q@O?G?C@a@B[?M?GASASCOI[GOAIAC?C?QAKAAAQCKESUs@CG?A?G?M@Q?ADe@@AFo@B]@K?U@E?GAM?IAE?ACMEMCGGOCGAE?I?C@E@EBEBEDCDCDAHCJC@?LAP?@?NBNDLFNH`@X`@ZDBHDD@F?B@BCDABE@I?A?C@MAKAMCYEo@M_AAECGCECECCOOQQGG[Wq@o@ECAACCACCCAEGKCIIWAAOc@Uk@Se@Yk@GKQa@uAuCKSGQCIAI?E?G@G?G@EBIFGBG^i@FILUT_@HMn@cAj@_ATc@FIDGBC@CBA@ADADAHAF?D@HBHDHHFFFFVTLLDDDHHRBFDLJTFLBFBFHFLJb@Z^R`@RDBZJHDF@NDZHf@HB@f@BZ@F@R?h@Bb@Bx@BJ@\\DD?TBTDJDB?@@@@@@@@BDBJDR@@FXBD@@B@@@B@B?D?BABCFELONQFKDE@C@AJGFCHANAP@@?`@?@?d@D^DfAJ`@D@?^BB?LBD@D@FBBBDDHJHJFLNVNRLPHJHHh@b@DBZTZXDDRVNNHLJFRDLQBI?K@C?U?WA]C}@AOAGACCECEAC?EAE?A?E?I@G@EDCFCFAJ@D@B?FBB@NLRPV^BHHPDN?@FP?F@DAD?JAV?B?B@DBDBDBBB@D@D@XHL@D@B@FF?@FFNT@BZp@Th@Vv@Xv@BBR`@R`@@@Tf@BLBN@?@Z@JBf@Df@@FD^D^@FBLDNBDBJBFFFDB\\TDDTPVRBDDBDHDLBL@PBPBV@HBH@HBD@B\\b@"},"start_location":{"lat":27.7372254,"lng":-17.9937641},"travel_mode":"DRIVING"},{"distance":{"text":"1.3 km","value":1327},"duration":{"text":"2 mins","value":129},"end_location":{"lat":27.7192528,"lng":-17.9809011},"html_instructions":"Turn \u003cb\u003eleft\u003c/b\u003e to stay on \u003cb\u003eHI-40\u003c/b\u003e","maneuver":"turn-left","polyline":{"points":"y~dhDbiylBh@_@BC?A@E@C?A?C@E?A?CO_@EOCGAC?AAC?C?EAa@C_@?GEqA?u@AOAIEQIQOa@GOGQEKAEAE?GAE?I?IBW@K?MAKAIAGCGGUCKEQESAI?I?C@MBQ?CFUDQDKBEFK@?NQVWlAuAFK@CDGTq@BIDODYFm@Ba@?]?ICg@AMCYEc@?CGg@[qCEa@AM?EAG?C@C?C@GNq@@E?C@E?G?EAIW}@Oq@CIMq@EQy@}DCKAMA]?Q@]Di@Fu@HaA@OBQBQ@CDKHOBEDGRSXa@"},"start_location":{"lat":27.7196513,"lng":-17.9933045},"travel_mode":"DRIVING"},{"distance":{"text":"2.4 km","value":2418},"duration":{"text":"3 mins","value":209},"end_location":{"lat":27.7098322,"lng":-17.977762},"html_instructions":"Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eHI-4\u003c/b\u003e","maneuver":"turn-right","polyline":{"points":"i|dhDr{vlBNZLVJZDRb@xBDNFTH\\FLFNDFFFPHFBJDNBJ?J?JGJGl@o@HKFGDCBA@ALGNI\\St@_@^QHAJ?J@HFj@ZHDrAv@HBFBLDL@P?VCXGHARELAJ@H@JDFBHFb@XbBhAZRVHPBN@N?VE`@IfB]b@ITEj@KVEF?J?H@B?\\Jb@J`@J@?^JRFLB^H@?b@J`@Hb@HD@ZF`@Hb@J`@H`@H@?`@HL@H?FCFCBCDEDQBO?E?ECGEOQUGIEIGOEGAEEOAOAII{@Gq@AIEeACi@Ae@Aa@CKCGEIIICESSY[m@q@QUKQM]EWKm@CKE_@ESK_@KSGKSSSQa@_@UYAAWY[_@MIMIi@YSK_B}@KIKOA?EMCI?K@E@GBEDEFEHEFAN?nAZTRNHH@J@^E\\CJAB?L?P?JBr@PxA^`@JfB`@"},"start_location":{"lat":27.7192528,"lng":-17.9809011},"travel_mode":"DRIVING"},{"distance":{"text":"0.9 km","value":890},"duration":{"text":"2 mins","value":108},"end_location":{"lat":27.7035054,"lng":-17.9812712},"html_instructions":"Turn \u003cb\u003eleft\u003c/b\u003e onto \u003cb\u003eC. Tr.ª del Pino\u003c/b\u003e/\u003cwbr/\u003e\u003cb\u003eHI-4\u003c/b\u003e","maneuver":"turn-left","polyline":{"points":"machD~gvlB\\_@z@cAd@i@RUHGJEH?J?VFf@T`A`@`Bp@`@Pp@XTJHFHFPRT^lA|ANHLF\\JFBJFDD~@t@z@p@NNBB`@l@JPHJPVLLRPRLTRDBVRdAt@TRZXBBZ^TZNT"},"start_location":{"lat":27.7098322,"lng":-17.977762},"travel_mode":"DRIVING"},{"distance":{"text":"0.2 km","value":232},"duration":{"text":"1 min","value":47},"end_location":{"lat":27.7022429,"lng":-17.9794795},"html_instructions":"Turn \u003cb\u003eleft\u003c/b\u003e onto \u003cb\u003eC. el Chamorro\u003c/b\u003e","maneuver":"turn-left","polyline":{"points":"}yahD|}vlBVQDELMJK@?BCDCTGDCBCBEFQNc@Pc@@E@CD[@GFSDGR_@@AHOFKPU@CTY"},"start_location":{"lat":27.7035054,"lng":-17.9812712},"travel_mode":"DRIVING"},{"distance":{"text":"7 m","value":7},"duration":{"text":"1 min","value":2},"end_location":{"lat":27.7021815,"lng":-17.9794959},"html_instructions":"Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eC. San Antón\u003c/b\u003e","maneuver":"turn-right","polyline":{"points":"_rahDvrvlBJB"},"start_location":{"lat":27.7022429,"lng":-17.9794795},"travel_mode":"DRIVING"},{"distance":{"text":"0.1 km","value":137},"duration":{"text":"1 min","value":26},"end_location":{"lat":27.7011231,"lng":-17.9790166},"html_instructions":"Turn \u003cb\u003eleft\u003c/b\u003e onto \u003cb\u003eC. D. Eloy Quintero\u003c/b\u003e","maneuver":"turn-left","polyline":{"points":"sqahDzrvlBTUFEDCLAD@\\@B?@?BADABABGDKFKFKDC@AHALAZCRA"},"start_location":{"lat":27.7021815,"lng":-17.9794959},"travel_mode":"DRIVING"},{"distance":{"text":"1.3 km","value":1312},"duration":{"text":"2 mins","value":148},"end_location":{"lat":27.6926438,"lng":-17.9724029},"html_instructions":"Continue onto \u003cb\u003eC. la Goronita\u003c/b\u003e","polyline":{"points":"_kahDzovlBRGJGPKb@WFCDCFENMBCHIBGDG@CHQDKRa@@?HKFGHEj@Y~Aq@JCHAb@Cz@An@ETALCHAHCBCDC?A@CTi@DIFI@AZYd@a@n@g@VSDCZUROBCb@WNKHKHMHMPUDGTY@CDIJUFKJYFIDEFCDAx@Gl@IFAFCBCBGDGBCFODMDKFGDEBALGXMZKTMFEZYd@_@FGDG@C@G@G@I?KCi@Cc@Ae@?GAg@AACKCEECIGEGAGBGBCBA?AD?D?F?FBF@HBBBFDFDJHJBJBP?tA@h@@F?HAHELMJMFILQVU"},"start_location":{"lat":27.7011231,"lng":-17.9790166},"travel_mode":"DRIVING"},{"distance":{"text":"10.6 km","value":10604},"duration":{"text":"12 mins","value":739},"end_location":{"lat":27.6422902,"lng":-17.9796272},"html_instructions":"Continue onto \u003cb\u003eHI-4\u003c/b\u003e","polyline":{"points":"_v_hDnfulB?KDMFIFGFEF?F?HBFDPLLLXVZZDDPXZd@h@r@d@n@p@bAFD@@HDFBF@D?@AHAHEDE@CBCBE@I?I?GAIEKEMEIU_@Ye@KQU_@EGMWAEO_@EUCUCOCOAIO]o@gAMUEIEKEK?A?E?EBGBIBCDCBAD?B?FBFB\\RBB~@r@f@^HDl@Xd@RXHf@Nl@XRJJFjAl@HFHFHJHPNXDHDFFDJFRHLDLDh@PHBNFNJHD\\Tf@\\b@VDB^RVRBBDDRV@B^p@FJFJDLDLHZLd@Rn@P`@PZLP^b@JLJJBDJPFNDFHLJHPLRLZPVLz@b@B@VNRNNJBBTVHH`@d@^f@TVPRVTNLHHNL^TVJVHNBB?NBRBB?T?TARCBALCREHCJG\\OPIFCLEJ?F?F?H@HBHBJFFFFFPJJDJBL?H?JALC\\KDAVKLELGRIFELEHCF?D?H@HFFDTXRZLXDFBFJT@BFPJZHZ?@Jb@BHLj@FJBFDHLR@@LJLJPHVHLDj@Hj@HvATl@J@?^BZBV?LAJ?ZCREPARCR@H?LBL@NFVHTHTFJBRFF?j@HJ@\\@X?V?L?J?TAZ?Z@ZBPBXFFBJDRH`@Tb@TFD`@TJHN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d@Jv@VfAVv@Xv@@@DLBDP\\\\h@f@p@^b@DHDDDJDFJXHXHVFP@FLb@FPRZd@p@f@l@HL@@FHDFBBFLHLFLDNBLDNBRFTDL@H@@HRh@`ABDb@r@Xd@b@r@d@v@HLPZFFFFB@FBDBBBLB@?F@D?D?N?LCLELGLIDGBCDGDKDIBK@IBIBI@IBKBG@KBEDQFMHOLOLKBCNMVYLOJKHQHSFODUBQBU@Q@SDu@?E@QDg@HsAF_A@K@W@C@KBUD_@F]D[Lo@J_@Rw@Ng@Vo@JYTi@Vi@Te@Ve@DIFMDGJQDMDK?A@K?E@A?M?G?E?MCICQGa@Ie@Kk@AGGQAAOc@KWAMAA?I?I?G?E@I@ODQFYDa@B[@[?W?[E]Ii@ESCOCGKk@Km@Ie@ACE]?ECSEo@@[?Y@UBWBWHa@J]r@}A~@oB`@y@NYLS@ADEVWHIDEDCBAFC@AB?B?DAB?D@D@D@B@DBDB"},"start_location":{"lat":27.6926438,"lng":-17.9724029},"travel_mode":"DRIVING"},{"distance":{"text":"0.1 km","value":118},"duration":{"text":"1 min","value":19},"end_location":{"lat":27.642195,"lng":-17.9808183},"html_instructions":"Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eC. las Calmas\u003c/b\u003e","maneuver":"turn-right","polyline":{"points":"i{ugDtsvlB@J@`@@^D|@?NFpA"},"start_location":{"lat":27.6422902,"lng":-17.9796272},"travel_mode":"DRIVING"},{"distance":{"text":"0.1 km","value":106},"duration":{"text":"1 min","value":34},"end_location":{"lat":27.6412427,"lng":-17.9807285},"html_instructions":"Turn \u003cb\u003eleft\u003c/b\u003e onto \u003cb\u003eC. Juan Gutiérrez Monteverde\u003c/b\u003e","maneuver":"turn-left","polyline":{"points":"uzugDb{vlBRA`@Ct@CD?\\CJ?`@C"},"start_location":{"lat":27.642195,"lng":-17.9808183},"travel_mode":"DRIVING"},{"distance":{"text":"0.1 km","value":115},"duration":{"text":"1 min","value":18},"end_location":{"lat":27.6410709,"lng":-17.9818738},"html_instructions":"Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eC. el Carmen\u003c/b\u003e","maneuver":"turn-right","polyline":{"points":"wtugDpzvlBDl@?T?L@FDj@Jr@BT?DBL"},"start_location":{"lat":27.6412427,"lng":-17.9807285},"travel_mode":"DRIVING"},{"distance":{"text":"15 m","value":15},"duration":{"text":"1 min","value":9},"end_location":{"lat":27.6412095,"lng":-17.9818845},"html_instructions":"Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eC. el Rancho\u003c/b\u003e\u003cdiv style=\"font-size:0.9em\"\u003eDestination will be on the left\u003c/div\u003e","maneuver":"turn-right","polyline":{"points":"usugDtawlB[@"},"start_location":{"lat":27.6410709,"lng":-17.9818738},"travel_mode":"DRIVING"}],"traffic_speed_entry":[],"via_waypoint":[]}],"overview_polyline":{"points":"ozkhDxn|lBs@sBj@W`DsAx@_@l@RlArD@M@oAjBT]sFSmA{A{E}CkJgA}@_Ca@qGoJX{AvB}@|@@~CtEfJbKfLbHpCrDpGfR`F`JhB`KbDxBjAdCdEnHDbKbAvMqA~Gn@fIkAfPs@|J|CrMlBb^HjD_ApDKvAn@H~@qEtAaGd@oINmG|ByJtA_LzBqFxAm@|AoC@kBUaChAgHhDyGlCoMiBaETm@|CtEEjIuAhLb@lFs@fBY|@pAjBrAbBGzJqDXyAJ}@hBAjDy@rJf@zBvC~CfAnBK`EeAhJCxJxEbEUpCr@`Bi@rCiAbGI~D|@zAe@jBcA~DiBpKPv@f@uBlBmF`CyCz@oF@kGtBsCfGsDL}DmAeQZcCzC_CvB}DbHqGzBwHh@sH]wGpAcJFkDlBiDvBkIWuBhAsACiCm@uDb@_E~AgEeAsJkDkJ{@wHgDiFmBcD[}DaBsFeBiEyCcFBgEpAmE_@_E}B}C]sG}@yDGiSoC{LgDiNMg@Nk@dAMh@@lBbAxDb@vA|Cd@jB`BMjAeAzHi@pDbC`AsGcAcGRqFEwBnAGfCxAZY_@_E_DeDmFqMhFaJh@QjAz@`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