You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The direction API accepts a list of tuples for the angle from true north, and degrees that we can deviate.
Directions API will accept 0-360 for the angle (including -0 interestingly enough) but will error outside of that range.
Directions API will accept 0-180 for the degrees and will error outside of that range.
In the inline documentation for Bearing we mention this 0-360 range of accepted values for angle but omit the 0-180 for degrees. We should update the 0-180 documentation so developers will see this in their IDE (and know not to pass degrees beyond 180).
The text was updated successfully, but these errors were encountered:
The direction API accepts a list of tuples for the angle from true north, and degrees that we can deviate.
Directions API will accept 0-360 for the angle (including -0 interestingly enough) but will error outside of that range.
Directions API will accept 0-180 for the degrees and will error outside of that range.
In the inline documentation for Bearing we mention this
0-360
range of accepted values forangle
but omit the0-180
for degrees. We should update the 0-180 documentation so developers will see this in their IDE (and know not to pass degrees beyond 180).The text was updated successfully, but these errors were encountered: