MapboxGeocoder.swift
MapboxGeocoder.swift copied to clipboard
Allow multiple locales
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
According to the Geocoding API documentation, multiple language tags produces results with text_{language}, place_name_{language}, and language_{language} properties.
Tracking this on the android side of things here: https://github.com/mapbox/mapbox-java/issues/511