Search code examples
objective-ciosmkmapviewmkoverlay

iOS: Draw MKCircle with a fixed radius in MKMapView?


Currently my MKCircle grows in size as I zoom into the map and shrinks as I zoom out. Is there anyway to draw a MKCircle of fixed radius regardless of zoom level? I'm thinking of overriding

- (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated

and remove the circle, then create a new one with a new radius and add it back to the overlay, but it seems a little inefficient. Anyone know of a better way of doing this? Thanks!


Solution

  • How about just using a custom MKAnnotationView that shows a circle? That will maintain size as you zoom around.