Add a public setNeedsRefresh method to make the layer as dirty.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fix the NSNotificationCenter observer tracking

Make sure we are registered for the correct notifications (pan and zoom, in this case) and trigger the proper actions.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
We don't need all of these refreshLayer methods. Just a single one that takes a set will suffice.
Fixes a syntax error on non-debug builds

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Add a property to lock the map view to the user's current location

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

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

Remove the older version of the sync function

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fixes to touch handling

Update the touch handling a bit so things behave a bit better when a callout is visible

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fix the logic when tweaking the envelope to only pan, instead of zoom, when positioning a visible graphic.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Fix a dead store
Fixes a memory leak
Don't keep these images in memory; let the system handle the caching.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Make sure we don't pop any callouts for things that don't want or need them.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Implement the stayCenteredOnUserLocation property

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Make sure we don't already have the annotation selected

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

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Make sure we animate the region change prior to displaying a callout

Signed-off-by: Blake Skinner <bskinner@mit.edu>
This method should be 'private'
Add methods to remove a set of layers or all layers
Don't set the name here; ArcGIS crashes if you add multiple layers with the same name