Swift에서 위치 이름 문자열로 변환하려는 Google지도의 마커의 위도와 경도 위치가 있습니다. 이 작업을 수행하는 가장 좋은 방법은 무엇입니까? 마커의 위치 주소를 표시하려고하는데 어떻게해야할지 모르겠다.빠른 클릭으로 마커 주소 (거리 주소) 표시
func mapView(mapView: GMSMapView, didLongPressAtCoordinate coordinate: CLLocationCoordinate2D) {
if counterMarker < 2
{
counterMarker += 1
let marker = GMSMarker(position: coordinate)
marker.appearAnimation = kGMSMarkerAnimationPop
marker.map = mapView
marker.position.latitude = coordinate.latitude
marker.position.longitude = coordinate.longitude
print(marker.position.latitude)
print(marker.position.longitude)
}
}
가능한 중복 : http://stackoverflow.com/questions/19025148/ios-7- 여기
내가 위도와 경도를 마커를 추가하고 가져 오는 데 사용 내 코드입니다 add-overlay-crash-app/http://stackoverflow.com/questions/6721124/app-crashing-when-i-add-overlay-to-mkmapview/http://stackoverflow.com/questions/31390630/exc- 불량 액세스 사용 중 gmaps-sdk-1-9-0-xcode-6-4-run-on-8-3-device/http://stackoverflow.com/questions/31264537/adding-google-maps- as-subview-crashes-ios-app-exc-bad-bad/http://stackoverflow.com/questions/24837295/how-to-solve-this-exc-bad-accesscode-exc-i38 6-gpflt-in-swift 프로그래밍 –