Closed Tootman closed 5 years ago
Now Creates a chkbox in NavMenu if UserProfile contains a selectableMapboxLayers property.
However this gets messed up if another user logs in before the App Reloads. So Nav item and layer needs to get removed on logout (maybe by element. parentNode. removeChild(element)
done - (branch addhounslowveglayer)) - needs further testing
Nav dropdown items - each item a checkbox for a mapbox style layer data from FB User property (UserProfile) as selectableLayers (array of layernames) Defaults to 'hidden'