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 Directions API has a new language query parameter (documentation forthcoming) that localizes the instruction property using OSRM Text Instructions. Developers who aren’t using real-time, turn-by-turn guidance instructions would be able to use this instruction property directly without having to link against OSRM Text Instructions for Swift.
The language query parameter doesn’t currently fall back to a similar language when an unsupported language code is provided. For now, we should omit the parameter by default but consider defaulting it to Locale.current in the future.
The Directions API has a new
language
query parameter (documentation forthcoming) that localizes theinstruction
property using OSRM Text Instructions. Developers who aren’t using real-time, turn-by-turn guidance instructions would be able to use thisinstruction
property directly without having to link against OSRM Text Instructions for Swift.The
language
query parameter doesn’t currently fall back to a similar language when an unsupported language code is provided. For now, we should omit the parameter by default but consider defaulting it toLocale.current
in the future.mapbox/mapbox-java#474 is the equivalent issue for Java.
/cc @freenerd @frederoni
The text was updated successfully, but these errors were encountered: