Identify MKPointAnnotation in mapView
I have at least 100 diferents Points ... how can associate each point with the position in my 'listOfPoints' assigning a tag in the position associated in viewForAnnotation . Here i add my Points, some events will have the same title. var listOfPoints : Array<Events> = [] // List Of all events //add points to map for (index, mPoints) in enumerate(listOfPoints) { var point: MKPointAnnotation! = MKPointAnnotation() var location = CLLocationCoordinate2D(latitude: mPoints.latitude, longitude: mPoints.longitude) point.coordinate = location point.title = mPoints.name point.subtitle = mPoints.address