Fixed
Status Update
Comments
br...@google.com <br...@google.com>
ne...@gmail.com <ne...@gmail.com> #2
This sounds like a bug. Can you put together a reproduction sample on github? Once I have a repro case engineering will have a look at it. Thanks!
br...@google.com <br...@google.com> #3
i have the same issue with 1.13.0, when using the GMSMapViewDelegate - (UIView *)mapView:(GMSMapView *)mapView markerInfoWindow:(GMSMarker *)marker returning a custom UIView.
wi...@gmail.com <wi...@gmail.com> #4
dg@ could you please post a repro case to github, I'm interested to see a full working sample. Thanks!
Description
demonstration page if at all possible, or attach code.
1. Set iphone system language to English(US)/Traditional Chinese
2. Use 'GMSAutocompleteFilter' to get search results(see codes below)
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText {
GMSAutocompleteFilter *filter = [[GMSAutocompleteFilter alloc] init];
// filter.type = kGMSPlacesAutocompleteTypeFilterCity;
[placesClient autocompleteQuery:searchText
bounds:nil
filter:filter
callback:^(NSArray *results, NSError *error) {
if (error != nil) {
NSLog(@"Autocomplete error %@", [error localizedDescription]);
return;
}
self.placeResults = results;
[self.resultsList reloadData];
for (GMSAutocompletePrediction* result in results) {
NSLog(@"Result '%@' with placeID %@", result.attributedFullText.string, result.placeID);
}
}];
3. It returns Traditional Chinese/Simplified Chinese results.
P.S.
I guess the language of results is based on the sim card or the distributed country of the iPhone, because I have two iPhones behaving differently.
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************