-
Notifications
You must be signed in to change notification settings - Fork 96
Unlocalized error when requesting route between waypoints that are too far apart #514
Copy link
Copy link
Open
Labels
blockedBlocked by dependency or unclarity.Blocked by dependency or unclarity.jira-sync-completelocalization
Description
To provide better feedback to our users, we are using DirectionError to display actionable feedback to users when they have created a route that is not routable.
| Example |
|---|
![]() |
Unfortunately, this uses a static string to display content which assumes km. On searching GitHub, I haven't been able to find the source of this text, so assuming it is being returned
invalidInput(message: Optional("Total distance between all coordinates cannot exceed 10000km"))
Ideally, we would either be able to:
- Localize the distance formatting by use of a DistanceFormatter (respecting device preference)
or - Define a known error case, where the App or SDK could format the distance based on user preference
Given the result appears to represent any input error, it's unlikely an app could perform this inference alone.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
blockedBlocked by dependency or unclarity.Blocked by dependency or unclarity.jira-sync-completelocalization
