dhmit / self-sufficient-cities

An interactive mapping and timeline project about urban communities that grew their own food in the 20th century United States.
https://cities.dhlab.mit.edu/
5 stars 2 forks source link

Skeleton for legend and new MapLegend file #36

Closed nfrieden closed 2 years ago

nfrieden commented 2 years ago

Created a formatted div in the left-hand corner of the map to eventually store legend values. Created a new map at /map-legend/ that will be used to help figure out a method to sort data into "types" that will be represented with different colors on the markers & legend.

anastasia commented 2 years ago

Hey @nfrieden, I merged main branch into this one, which means I also moved MapLegend.js and Legend.js into @samimak37's refactored components/maps/ directory in frontend. Please fix the last linting error (error Parsing error: Identifier 'Marker' has already been declared.). You will probably have to remove Marker.js or rename it if you intend to use it later.

anastasia commented 2 years ago

Great work! A few small changes requested above.