NYCPlanning / labs-regional-viz

An interactive mapping experience that highlights regional planning data and trends.
Other
6 stars 1 forks source link

use didReceiveAttrs to determine whether to reset geom level #102

Closed chriswhong closed 6 years ago

chriswhong commented 6 years ago

This PR uses the didReceiveAttrs() hook in map-from-id to conditionally reset the selected geometry level... we want it to reset only when navigating between maps, not when opening and closing the info pane.

Closes #81