0

geocodeAddressStringforで検索しようとするとATM Branch locator、Newyork 検索で FL 州が表示されます (place-marks はフロリダの Lat n Long を返します)。一方、New York は NY 州を示します (目印は NewYork の Lat n Long を返します)。
次の行を使用しています。

let geocoder = CLGeocoder()
    let usa = CLCircularRegion(center: CLLocationCoordinate2D(latitude: 39.8282, longitude: -98.5795), radius: 4500000.0, identifier: "USA")
    geocoder.geocodeAddressString(search, inRegion: usa, completionHandler: { (placemarks, error) -> Void in /* Error Handling */

なんで?Googleジオコーディングでは、正常に機能しています。

4

0 に答える 0