Convert to NS_ENUM
Just use a background queue instead of a separate NSOperationQueue. Also improve  the cache management so we only actually sync when necessary.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
No major changes, just a re-sort.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Update the callout view's layoutSubview and autosizing methods

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fix a bug where a callout view was being created, configured and then tossed. Also tweak the animations for displaying a callout to make sure that it is centered.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Use the combined centering/animated show callout method

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fix the syncing code, again. Looks like it's much happier now and we are no longer missing annotations.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Clean up the callout handling so we actually call the delegate method for a custom view (and use it!)

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Add a loading/error view to display before the map view full loads and show errors if the loading fails.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Adjust the callout so that it's layer refreshes (if needed) and then pops the callout.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Forgot to commit the resources for the map loading view

Signed-off-by: Blake Skinner <bskinner@mit.edu>
More tweaks to the callout display. It should now occur right after a ArcGIS layer sync

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Keep a reference to the 'new' annotations so we can refer to it later on to see if anything has changed. This should help reduce the refresh frequency (and make the callouts a bit snappier). May want to consider a copy instead of retain for the annotation set.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Use a semaphore instead of a boolean to dictate whether we fire off a request operation or just use the cached copy.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Remove the feature layer bits. We don't need them yet so no need to jump the gun.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Tweak the sync code so it can safely be called either on a background queue or the main queue. Also move the sync onto the main queue; it makes the annotation updates a bit smoother.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Clear out a pending callout, if it exists and there is no active callout.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fix the annotation ordering so polygons/lines are sorted below markers

Signed-off-by: Blake Skinner <bskinner@mit.edu>
IPHONEAPP-657

Fix the offset calculations; they were really off. This should prevent the MIT shuttles from pretending they are duck boats.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Clean up some of the singleton classes. No need to be as neurotic as we are with them. This also fixes several static analysis warnings.

Signed-off-by: Blake Skinner <bskinner@mit.edu>