Norric1Admin / maptemplates

Map templates
0 stars 1 forks source link

How to reduce the number of map tabs? #3

Open Norric1Admin opened 6 years ago

Norric1Admin commented 6 years ago

At the top of the map we have the default 4 tabs. WE can make them empty, but is it possible to remove them entirely - even relative to the number of CSVs in the data folder?

Potential starting point: js/script.js (search for 'nav' or 'topnav'; i.e. line 55)

Norric1Admin commented 6 years ago

Users can alter the number of tabs by simply changing the number of variables in 'varlabels' (config.json). For example, "varlabels": ["Male + Female","Male","Female"] will give three tabs.