MapboxGeocoder.swift icon indicating copy to clipboard operation
MapboxGeocoder.swift copied to clipboard

Allow multiple locales

Open 1ec5 opened this issue 8 years ago • 2 comments

Apparently the language parameter will accept multiple IETF language tags, separated by commas. We should replace the locale property on GeocodeOptions with a locales property of type [Locale].

/cc @apendleton @cammace

1ec5 avatar Apr 17 '17 19:04 1ec5

According to the Geocoding API documentation, multiple language tags produces results with text_{language}, place_name_{language}, and language_{language} properties.

1ec5 avatar Jul 15 '17 01:07 1ec5

Tracking this on the android side of things here: https://github.com/mapbox/mapbox-java/issues/511

cammace avatar Jul 15 '17 01:07 cammace