Skip to content

Add support for DurationInTraffic - #157

Open
PeterDavidson wants to merge 5 commits into
ericnewton76:masterfrom
PeterDavidson:master
Open

Add support for DurationInTraffic#157
PeterDavidson wants to merge 5 commits into
ericnewton76:masterfrom
PeterDavidson:master

Conversation

@PeterDavidson

Copy link
Copy Markdown

If the DepartureTime is set then Google can return congested travel times. This adds support for obtaining the new output, as well as an extra setting in the request to specify the traffic model to use.
I also updated the Newtonsoft.Json to the latest version.

PeterDavidson and others added 3 commits April 9, 2019 17:17
Add duration_in_traffic to DirectionLeg
… requested, and also updated to the latest Newtonsoft.Json
@PeterDavidson

Copy link
Copy Markdown
Author

Note that this closes #128

…t Standard 2.0 (since it was causing build errors).
@shragesmilowitz

Copy link
Copy Markdown

Any plans to accept this PR?

Comment thread src/Google.Maps/Google.Maps.csproj Outdated
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netstandard1.3</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately this change makes it much harder to approve the pull request. I would consider changing the targetframework to be considered out of scope of adding traffic_model to the request.

@ericnewton76 ericnewton76 added awaiting reply out-of-scope Currently has an out-of-scope change that might be limiting the desirability to merge labels Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reply out-of-scope Currently has an out-of-scope change that might be limiting the desirability to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants