2012-02-29 5 views
1

나는 배열에서 좌표 값을 만들려고합니다. CoreLocation Framework도 추가했습니다.Koordinate 선언되지 않은 오류

+0

관련없는 그런데 왜 루프는 1부터 시작됩니다 (배열 인덱스 0에서 시작)? – Anna

답변

2

먼저 만 구조체에게 있습니다 CLLocationCoordinate2D이, 더 클래스 Koordinate 이름없는이

CLLocationCoordinate2D coordiante; 
coordiante.latitude =[[appDelegate.latitudeArray objectAtIndex:i] floatValue]; 
coord.longtitude = [[appDelegate.longitudeArray objectAtIndex:i] floatValue]; 
+0

감사합니다. 알았다. – anjum

관련 문제