The Ocean Navigator is an online tool that is used to help visualise scientific research data. a users guide is available at https://dfo-ocean-navigator.github.io/Ocean-Navigator-Manual/ and the tool is live at
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
[X] I ran unit tests.
[X] I've tested the relevant changes from a user POV.
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
black .
.