NCC-CNC/wheretowork

Remove "hide layers on map"

DanWismer opened this issue · 3 comments

With "lazy loading" of layers, this can be removed.

image

Will keep the option to hide layers in the data prep, but remove force_hidden on the UI and fct_read_project.R. In other words, to hide a layer, it needs to be defined in the data prep (.yaml), and can not be forced via the UI.

My take was that the "hide layers on map for big projects" button is confusing, and really was a short term solution before lazy loading. It also hid all the layers (other then the solution), which was not that useful.

for shapefile import (no .yaml), visible = false is set on all layers. This mean no layer is displayed when app inits. Layers are still available to be lazy loaded in for display.