Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Only pan map if facility not in viewport bbox #719

Merged
merged 1 commit into from Aug 6, 2019

Conversation

kellyi
Copy link
Contributor

@kellyi kellyi commented Aug 5, 2019

Overview

  • pan the map if the newly selected facility is not in the viewport bbox
  • don't pan the map if the newly selected facility is already visible in
    the viewport bbox

Fixes #718

Testing Instructions

Checklist

  • fixup! commits have been squashed
  • CI passes after rebase
  • CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

- pan the map if the newly selected facility is not in the viewport bbox
- don't pan the map if the newly selected facility is already visible in
the viewport bbox
@jwalgran
Copy link
Contributor

jwalgran commented Aug 6, 2019

Sorry for the delay. Looking at this now.

Copy link
Contributor

@jwalgran jwalgran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix.

@jwalgran jwalgran assigned kellyi and unassigned jwalgran Aug 6, 2019
@kellyi
Copy link
Contributor Author

kellyi commented Aug 6, 2019

Awesome, thanks!

@kellyi kellyi merged commit df4cf37 into develop Aug 6, 2019
@kellyi kellyi deleted the ki/fix-map-panning-bug branch August 6, 2019 17:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't pan map when clicking on a facility marker
2 participants