I added MKpolyline in my map using the following code.But it is not showing the title of polyline.Please help me to show the title.Thanks in advance.
self.routeLine = [MKPolyline polylineWithCoordinates:coordinateArray count:2];
self.routeLine.title = @"route1";
[mapView addOverlay:self.routeLine];