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

Modularize Map Component #1171

Merged
merged 5 commits into from
Nov 20, 2024
Merged

Modularize Map Component #1171

merged 5 commits into from
Nov 20, 2024

Conversation

JustinElms
Copy link
Contributor

Background

This PR breaks the map into three components; the main Map piece, and two modules for functions related to creating map layers and drawing functionality. This work does not offer much in performance improve but makes the component much more readable.

Logic was also added to ensure that the first point is displayed when the user begins to draw lines or areas.

Checks

  • I ran unit tests.
  • I've tested the relevant changes from a user POV.
  • I've formatted my Python code using black ..

@JustinElms JustinElms self-assigned this Nov 20, 2024
@JustinElms JustinElms added Javascript Code Quality Anything related to the quality of the code labels Nov 20, 2024
@JustinElms JustinElms merged commit 1f4368c into master Nov 20, 2024
5 checks passed
@JustinElms JustinElms deleted the modualize-map branch November 20, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Quality Anything related to the quality of the code Javascript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant