digidem / react-mapfilter

Visualizing, exploring, filtering and printing geographic data and geotagged photos and video
https://lab.digital-democracy.org/mapfilter
29 stars 11 forks source link

[Work in progress] Table view #63

Open dereklieu opened 7 years ago

dereklieu commented 7 years ago

Syncing my work for the day. I'll pick this up tomorrow. Things left to do:

Anything else?

@mojodna on that last point, this is just naively taking the first geojson feature from filteredFeatures that has a properties property, and using the keys from that property to determine the table headers. I think it makes sense to pass some sort of configuration, at the very least determining which properties to pick. Otherwise for anything more complicated the table becomes useless.

If we want to avoid passing configuration, an alternative would some UI that lets you control which columns to show. Open to other suggestions as well.

screen shot 2017-06-01 at 7 52 28 pm