I add a few annotations to MapView and use a custom image instead of the standard contacts. I use the viewForAnnotation delegate viewForAnnotation to set up a custom image as follows:
view.image = [UIImage imageNamed:@"placemark.png"];
And I also tried:
[(MKPinAnnotationView *)view setImage:[UIImage imageNamed:@"placemark.png"]];
Now they both set the image just fine. But when the annotation is either knocked, or mapType changes to Satellite or Hybrid, it returns to the red pin image. What am I missing?
source share