OpenWaterFoundation / owf-app-snodas-ng

Open Water Foundation SNODAS snowpack user interface built with Angular
0 stars 0 forks source link

Streamline Map component creation #24

Open Nightsphere opened 3 years ago

Nightsphere commented 3 years ago

When clicking on another tab, then clicking back to Map on the navigation bar, the Leaflet map is more or less created from scratch each time. This introduces a little lag.

Is there a way to hold the map reference somewhere, or another way to just hide and display the map easily when another tab is clicked on?