Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var eventAnnotation = [(eventTitle:String, eventLocation:String, eventLat:CLLocationDegrees, eventLong:CLLocationDegrees)]()
- for event in eventAnnotation {
- let annotation = MKPointAnnotation()
- annotation.title = eventAnnotation.eventTitle
- annotation.subtitle = eventAnnotation.eventLocation
- annotation.coordinate = CLLocationCoordinate2D(latitude: eventAnnotation.eventLat, longitude: eventAnnotation.eventLong)
- eventMap.addAnnotation(annotation)
- }
Add Comment
Please, Sign In to add comment