Remove the map's error view and it's associated resources.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Add a delegate method to report map view errors

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

Replace the use of the layer's anchor point and use the centerOffset property of MKAnnotationView instead. Also, there is no need to keep a retained copy of these images; let the system handle the caching.

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

More of the same, use centerOffset to position the image.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Make sure we also check all the base layers on a layer error. This chunk of code should probably be moved to a new method at some point.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Use MKAnnotationView's centerOffset property for positioning the annotations

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Add methods for obtaining the matching MGSAnnotation for an MKAnnotation and retrieve/create views when needed.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fix the annotation positioning again to incorporate the centerOffset. Any annotations should be using this to tweak the positioning of the annotation marker instead of using frame tweaks or CALayer's anchorPoint

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Make sure to note in the log if we are unable to create a CGContext.

(* Considering changing this to DDLogError instead of MITLogFatal *)

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Make sure we actually create a view to use.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Use a block to sort the entries instead of jumping out to a function

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Add a property so we have a single point of reference for the directory phone number

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Change from 'tel' to 'telprompt' and use the directoryPhoneURL property both when creating the table view cell and attempting to call the directoryh.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Be sure to clear out the secondaryTextLabel; it may be non-nil if we are reusing a cell.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fixes bug 'Clearing recent searches swaps "Emergency Contacts" and "Phone Directory" button actions' (IPHONEAPP-659)

Merge branch 'refs/heads/3.4/bugfix/IPHONEAPP-659' into 3.4/feature/maps

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Merge branch '3.4/feature/maps' into 3.5/feature/dining

Conflicts:
	MIT Mobile.xcodeproj/project.pbxproj
[IPHONEAPP-642] Added 'No meals this day' cell to DiningHallMenuViewController
	updated section header view to follow spec when there are no meals