title: How to show multiple location points on mkmapview
body: <p>How to get multiple location pin points on mkmapview.</p>
  
  <p>on my current location I view my friends register with me.</p>
  
  <p>i have got there location latitude and longitude values.</p>
  
  <p><em>Below are dummy values for understanding.</em></p>
  
  <pre><code>{
  friendA:
  {
  latitude: "12.1234";
  longtitude: "12.1234";
  },
  
  friendB:
  {
  latitude: "12.1234";
  longtitude: "12.1234";
  },
  
  friendD:
  {
  latitude: "12.1234";
  longtitude: "12.1234";
  }
  
  }
  </code></pre>
  
  <p>Want to show all my friends on mapView with there location 
  Placing with PinPointer <strong>Marker.png</strong>  </p>
  
  <p>//Created the mapview.</p>
  
  <pre><code>mapView = [[MKMapView alloc] init];
  mapView.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height-60);
  mapView.delegate = self;
  mapView.mapType = MKMapTypeStandard;
  mapView.showsUserLocation = YES;
  [self.view addSubview:mapView];
  </code></pre>
  
  <p><strong>MKAnnotation MarkerPin Pointer</strong></p>
  
  <pre><code>- (MKAnnotationView *)mapView:(MKMapView *)map viewForAnnotation:(id &lt;MKAnnotation&gt;)annotation
  {
      static NSString *AnnotationViewID = @"annotationView";
  
      MKAnnotationView *annotationView = (MKAnnotationView *)[mapView dequeueReusableAnnotationViewWithIdentifier:AnnotationViewID];
  
      if (annotationView == nil){
          annotationView = [[MKAnnotationView alloc] initWithAnnotation:annotation reuseIdentifier:AnnotationViewID];
      }
  
      annotationView.image = [UIImage imageNamed:@"Marker.png"];
      annotationView.annotation = annotation;
  
      return annotationView;
  }
  </code></pre>