Fix via waypoints APIs naming#961
Conversation
danesfeder
left a comment
There was a problem hiding this comment.
Thanks for this update @Guardiola31337
|
@Guardiola31337 Also please add |
| private Point destination; | ||
| private Point origin; | ||
| private String[] approaches; | ||
| private Integer[] waypoints; |
There was a problem hiding this comment.
This was correct as-was. Should be waypoints as one word, no capital P
There was a problem hiding this comment.
Yeah, you're correct. Will update in a follow-up PR. Thanks for flagging 🙇
Yeah, I agree. We should be consistent across the different services. Will implement ☝️ if we're not cool breaking SemVer.
You mean, adding "waypoints" option to Map Matching route options, right? I've already added it to Directions 👀 |
|
@Guardiola31337 Please add a call to viaWaypoints() when RouteOptions are being saved/generated: I believe tests might be updated as well. |
We found in mapbox/mapbox-navigation-android#1733 (comment) that naming could be confusing and should be more explicit in order to make clients' life easier.