Tootman / ClientMap

0 stars 0 forks source link

toggle a layer visiability #37

Closed Tootman closed 5 years ago

Tootman commented 5 years ago

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'

Tootman commented 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)

Tootman commented 5 years ago

done - (branch addhounslowveglayer)) - needs further testing