geocoding

How to get address in English language only using GMSGeocoder

随声附和 提交于 2020-06-28 03:43:10
问题 I am using GMSGeocoder in my iOS app. And also I am using multiple languages(say English, Arabic). While using Arabic language I am getting an address in Arabic language. But I want to get the address in English language only. For this I used geocoder.accessibilityLanguage = "en-US" . but it didn't work. Could you help me regarding this issue func getAddressForLocation() { let geocoder = GMSGeocoder() geocoder.accessibilityLanguage = "en-US" let coordinate = CLLocationCoordinate2DMake(Double

How to get address in English language only using GMSGeocoder

天涯浪子 提交于 2020-06-28 03:43:02
问题 I am using GMSGeocoder in my iOS app. And also I am using multiple languages(say English, Arabic). While using Arabic language I am getting an address in Arabic language. But I want to get the address in English language only. For this I used geocoder.accessibilityLanguage = "en-US" . but it didn't work. Could you help me regarding this issue func getAddressForLocation() { let geocoder = GMSGeocoder() geocoder.accessibilityLanguage = "en-US" let coordinate = CLLocationCoordinate2DMake(Double