Search code examples
iosmapkitmkannotationmkannotationview

MKAnnotation with error margin


I'm using a MKMapView and use annotations with custom MKAnnotationViews in order to display other person's locations. Although, as the location of other people have error margins, I would like to represent the error margin just like the blue circle around your current location. I looked in the documentation of MKAnnotation and MKMapViewDelegate but couldn't find anything related. Is it possible to achieve this? If yes, how?


Solution

  • I found out that it wasn't actually possible. Although, I could draw the accuracy circle myself, by using an MKCircle with the accuracy radius and implementing mapView:rendererForOverlay: on the MKMapView's delegate.