How can I show several location points on map in objective c
问题 I have two NSMutableArray, first keeps some location's latitudes and second keeps longitudes. Then, I want to see this locations on map with markers. I try like this but it is not work. How can I do this? for (int x=0; x<=[ws8.Latitude count]; x++) { for (int y=0; y<=[ws8.Longitude count]; y++) { CLLocationCoordinate2D location1; location1.latitude = [[ws8.Latitude objectAtIndex:x] floatValue]; location1.longitude = [[ws8.Longitude objectAtIndex:y] floatValue]; region.span=span; region.center