Truncate precision in CLLocationCoordinate2D
to relevant decimal places
#309
Labels
CLLocationCoordinate2D
to relevant decimal places
#309
When crafting a custom
RouteOptions
request , the user has the ability to use the fullDouble
bitwidth to describeCLLocationCoordinate2D
waypoints. This causes us to potentially emit really long requests when we end up requesting a route.We only pay attention to the the fifth or sixth decimal place in the API (depending on the API version I think? cc @1ec5), so we should truncate our values to match at request time.
/cc @mapbox/navigation-ios
The text was updated successfully, but these errors were encountered: