Did a bunch of things to change the functionality of the centering button:
- Added a boolean mapIsFollowingUser property to the HomeVC class.
- Made the map centering button an icon font character.
- In the map view's didUpdateUserLocation delegate method, I set up logic to change the icon for the centering button based on whether or not the map is currently centered on the user.
- Also added logic to didUpdateUserLocation to check mapIsFollowingUser and update the map's location to the user's location if it's set to true.
- In the IBAction for the centering button, I center the map, and then I also check (like I do in didUpdateUserLocation) if the map is currently centered on the user location. If so mapIsFollowingUser is set to true. If not, it sets mapIsFollowingUser to false.