MKMapView - viewForAnnotation not called while loading more results

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-03-22T18:37:39Z Indexed on 2010/03/22 18:41 UTC
Read the original article Hit count: 706

I have a search enabled map view. When user hits search, my custom annotations are added to the map view. The search returns 20 results with a 'load more' link. When I hit load more, more annotations should be added to map view.

The problem is - annotations gets added to the map view but is not displayed on the map. If I zoom in or zoom out to change the map region, the pins are shown.

I find that viewForAnnotations: is not getting called when i hit 'load more'. I am not sure how to trigger this. any one?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about mkmapview