MKMapView refresh after pin moves

Posted by slatvick on Stack Overflow See other posts from Stack Overflow or by slatvick
Published on 2009-07-27T19:52:18Z Indexed on 2010/03/24 0:53 UTC
Read the original article Hit count: 659

A custom AnnotationView is updated with new coordinates. But the problem is that it visually updates only after some manipulations with MKMapView, e.g. zooming or moving. What should I do to manually update visual position on a map?

PS. I've tried to change region to current map's region. But it does change zoom. It's strange.

[mapView setRegion:[mapView region] animated:YES];

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c