• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MKMapView: Can't keep annotations from flashing during an update. Ideas?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MKMapView: Can't keep annotations from flashing during an update. Ideas?


  • Subject: Re: MKMapView: Can't keep annotations from flashing during an update. Ideas?
  • From: Gavin Stokes <email@hidden>
  • Date: Fri, 29 Jun 2012 00:59:07 -0700

On Tue, Jun 26, 2012 at 7:38 PM, Joe Wollard <email@hidden> wrote:

> Out of curiosity, why are you manually removing them in the first place?
> MKMapView should be handling that logic for you as I understand it. If its
> for performance, the docs say to make sure you dequeue the MKAnnotationView
> instead of creating a new one when possible so that it can reuse the views
> intelligently.
>

Hm, I don't know how it would handle it automatically.  If the user shifts
the map at all, I requery for all markers within the boundaries of the map.
 Eventually I'd like to retain the markers that are in common between
queries and only refresh the changed ones, but for now I'm totally
refreshing the view.

Right now I'm only dealing with 3000 or so markers at most, but paring them
down and aggregating within a certain pixel range is what I was intending
to do.

I'm going to check out the WWDC materials Conrad recommended.

Thanks, guys!

Gavin
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >MKMapView: Can't keep annotations from flashing during an update. Ideas? (From: Gavin Stokes <email@hidden>)
 >Re: MKMapView: Can't keep annotations from flashing during an update. Ideas? (From: Joe Wollard <email@hidden>)

  • Prev by Date: Re: 10.6 SDk and 10.5 Deployment
  • Next by Date: Please check out my new company, Directr...
  • Previous by thread: Re: MKMapView: Can't keep annotations from flashing during an update. Ideas?
  • Next by thread: Moving from popup to text field cell in table view core data binding causes exception
  • Index(es):
    • Date
    • Thread