Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Use Markdown for this comment
Set severity, which reflects how much the issue affects the use of the product
Assign issue to yourself
Pending code changes (auto-populated)
[ID: 82786]
[ID: 82657]
Use this custom field to mark fixed issues that were updated in StackOverflow questions/answers [ID: 167915]
[ID: 82725]
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
Set the version(s) of the product affected by this issue (comma-separated list)
Set the version(s) of the product in which the issue should be fixed (comma-separated list)
Set the version(s) of the product in which the issue fix was verified (comma-separated list)
Set if this issue occurs in production
Set Reporter
Set Type
Set priority, which reflects how soon the issue should be fixed
Set Status
Set Assignee
Set Verifier
Remove item
View or edit staffing
View issue level access limits(Press Alt + Right arrow for more information)
Description
===========================================================================================
#REMINDER: Please do not disclose any possible PII such as: email address, IP, contact number, any part of name, project numbers and billing accounts as these information may violate security and privacy. Comments or attachments that include PII will be removed and restricted from public viewing.
Furthermore, please refrain from replying to a comment as this will make your email address visible. Instead, you may use the Issue Tracker’s comment feature for your replies.
It is OK to share your API Project ID, but _not_ API keys or client ID credentials.
To learn more about personal data, visit
===========================================================================================
Issue report
----------------
If you are seeing incorrect routes from the Routes API, please include the full request in JSON format and explain which sections of the API response are incorrect (and why).
final String url =
"
final response = await
Uri.parse(url),
headers: {
"Content-Type": "application/json",
// "X-Goog-Api-Key": mapkey,
"X-Goog-FieldMask":
"routes.duration,routes.distanceMeters,routes.travelAdvisory.tollInfo"
},
body: jsonEncode({
"origin": {
"location": {
"latLng": {"latitude": originLat, "longitude": originLng}
}
},
"destination": {
"location": {
"latLng": {"latitude": destLat, "longitude": destLng}
}
},
"travelMode": "DRIVE",
"extraComputations": ["TOLLS"],
"routeModifiers": {
"vehicleInfo": {"emissionType": "GASOLINE"},
"tollPasses": []
}
}),
);