NYCPlanning / labs-zola

NYC Planning's Zoning and Land Use App
https://zola.planning.nyc.gov
Other
77 stars 28 forks source link

Persist Layergroup State #466

Open chriswhong opened 6 years ago

chriswhong commented 6 years ago

User Story

As a frequent ZoLa user, I want ZoLa to remember the layers I've toggled on/off between sessions so I can save time on my next session.

Description

Layer toggling is persisted in the URL parameters, but if landing on the default ZoLa url, it would be helpful if ZoLa remembered the layers that were toggled on/off from the previous session. We could use localstorage for something like this.

chriswhong commented 6 years ago

To reproduce: