0

This seems to be possible because the MKUserLocation annotation is placed at the user's current altitude. However, the protocol for MKAnnotation only includes a coordinate. Is there a way to adjust its altitude as well? Thanks!

noizybrain
  • 155
  • 1
  • 15

1 Answers1

0

Here is method :-

  [mapView showAnnotations:yourAnnotationArray animated:YES];

You can pull from an array stored in the map view:

  yourAnnotationArray = mapView.annotations;

and quickly adjust the altitude :-

  mapView.camera.altitude *= 1.4;

try multipling the cameras altitude by a fraction of one, like mapView.camera.altitude *= .85; for a closer viewport

N.Raval
  • 549
  • 3
  • 11
  • Thank you, but this affects the camera, and I'm interested in adjusting the altitude of an annotation. Do you know of any way to do that? – noizybrain Feb 04 '16 at 17:02