Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stateful find me button #113

Merged
merged 1 commit into from
Jun 6, 2016
Merged

Stateful find me button #113

merged 1 commit into from
Jun 6, 2016

Conversation

ecgreb
Copy link
Collaborator

@ecgreb ecgreb commented Jun 6, 2016

Tap to activate find me button. While activated map will remain centered on current location. Tap again or pan map to deactivate.

  • Removes locationRequested boolean flag from OverlayManager.
  • Adds activated state to find me button.
  • Center map on location update only if find me is active.
  • Un-mock class under test in OverlayManagerTest.
  • Re-restrict scope on private constant value NAME_CURRENT_LOCATION.
  • Suppress visibility modifier checkstyle check for test classes.
  • Moves inner test classes to bottom of MapzenMapTest.
  • Adds internal pan responder to MapzenMap.
  • Forwards pan and fling events to both external listener and OverlayManager.
  • Deactivates find me button on map pan or fling.

Closes mapzen/eraser-map#536

Tap to activate find me button. While activated map will remain centered on current location. Tap again or pan map to deactivate.

* Removes `locationRequested` boolean flag from `OverlayManager`.
* Adds activated state to find me button.
* Center map on location update only if find me is active.
* Un-mock class under test in `OverlayManagerTest`.
* Re-restrict scope on private constant value `NAME_CURRENT_LOCATION`.
* Suppress visibility modifier checkstyle check for test classes.
* Moves inner test classes to bottom of `MapzenMapTest`.
* Adds internal pan responder to `MapzenMap`.
* Forwards pan and fling events to both external listener and `OverlayManager`.
* Deactivates find me button on map pan or fling.

Closes mapzen/eraser-map#536
@sarahsnow1 sarahsnow1 merged commit 4a15e39 into master Jun 6, 2016
@sarahsnow1 sarahsnow1 deleted the stateful-location-tracking branch November 8, 2017 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants