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

Fix vector tile map crashes on login/logout #837

Merged
merged 1 commit into from Sep 30, 2019
Merged

Conversation

kellyi
Copy link
Contributor

@kellyi kellyi commented Sep 30, 2019

Overview

Fix a bug whereby the vector tile map would crash on logging in or
logging out caused by a missing check to ensure that the map object
existed before calling getZoom. Adjust it to use the stored zoom state
instead.

Connects #822

Notes

Fixing this uncovered another quirk whereby we are clearing the existing facilities data on logout, along with the filter settings. This is how the existing map setup also works, so I did not try to address it here and will make another card for fixing it.

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

Fix a bug whereby the vector tile map would crash on logging in or
logging out caused by a missing check to ensure that the map object
existed before calling getZoom. Adjust it to use the stored zoom state
instead.
@jwalgran
Copy link
Contributor

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.

Confirmed the fix

@jwalgran jwalgran assigned kellyi and unassigned jwalgran Sep 30, 2019
@kellyi kellyi merged commit ed58a73 into develop Sep 30, 2019
@kellyi kellyi deleted the ki/fix-map-crashes branch September 30, 2019 15:36
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.

None yet

2 participants