Skip to content

Conversation

@cafesilencio
Copy link

@cafesilencio cafesilencio commented Sep 26, 2024

Added updates to Isochrone API to support new features like driving-traffic profile, contours_meters, road/route exclusions and departure date/time.

@cafesilencio cafesilencio force-pushed the sb-3734-update-isocrone-services branch 7 times, most recently from 1650d25 to 6eb36b2 Compare September 26, 2024 20:50
@codecov
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

Attention: Patch coverage is 82.22222% with 8 lines in your changes missing coverage. Please review.

Project coverage is 78.03%. Comparing base (b33ae25) to head (93a3561).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...java/com/mapbox/api/isochrone/MapboxIsochrone.java 82.22% 1 Missing and 7 partials ⚠️

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1596      +/-   ##
============================================
+ Coverage     77.93%   78.03%   +0.09%     
  Complexity     1066     1066              
============================================
  Files           158      158              
  Lines          4450     4493      +43     
  Branches        617      630      +13     
============================================
+ Hits           3468     3506      +38     
  Misses          714      714              
- Partials        268      273       +5     
Flag Coverage Δ
78.03% <82.22%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...va/com/mapbox/api/isochrone/IsochroneCriteria.java 0.00% <ø> (ø)
...java/com/mapbox/api/isochrone/MapboxIsochrone.java 86.31% <82.22%> (+1.70%) ⬆️

@cafesilencio cafesilencio marked this pull request as ready for review September 26, 2024 21:15
@cafesilencio cafesilencio requested a review from a team as a code owner September 26, 2024 21:15
Comment on lines 253 to 254
public Builder addContoursMeters(@NonNull @IntRange(from = 0, to = 100000)
Integer... listOfMeterValues) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
public Builder addContoursMeters(@NonNull @IntRange(from = 0, to = 100000)
Integer... listOfMeterValues) {
public Builder addContoursMeters(@NonNull Integer... listOfMeterValues) {

Let's not add the integer range, this range can be dynamically changed on the backend.

Comment on lines 245 to 246
* must be in increasing order. The maximum distance that can be specified
* is 100000 meters (100km).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* must be in increasing order. The maximum distance that can be specified
* is 100000 meters (100km).
* must be in increasing order. The default maximum distance that can be specified
* is 100000 meters (100km), if you need a bigger range contact support.

Comment on lines 278 to 279
* increasing order. The maximum distance that can be specified
* is 100000 meters (100km).
Copy link
Contributor

@LukasPaczos LukasPaczos Sep 27, 2024

Choose a reason for hiding this comment

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

Suggested change
* increasing order. The maximum distance that can be specified
* is 100000 meters (100km).
* increasing order. The default maximum distance that can be specified
* is 100000 meters (100km), if you need a bigger range contact support.

@cafesilencio cafesilencio force-pushed the sb-3734-update-isocrone-services branch from 6eb36b2 to 6e918f2 Compare September 27, 2024 16:10
@cafesilencio cafesilencio force-pushed the sb-3734-update-isocrone-services branch from 6e918f2 to 93a3561 Compare September 27, 2024 17:27
@cafesilencio cafesilencio merged commit 22599ef into main Sep 30, 2024
@cafesilencio cafesilencio deleted the sb-3734-update-isocrone-services branch September 30, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants