DFO-Ocean-Navigator / Ocean-Data-Map-Project

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
http://navigator.oceansdata.ca
GNU General Public License v3.0
50 stars 20 forks source link

Modularize Map Component #1171

Closed JustinElms closed 3 days ago

JustinElms commented 3 days ago

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