codeforkansascity / Neighborhood-Dashboard

We're working to help neighborhoods help themselves by giving them easy access to useful data to allow them to identify and track problem areas in their neighborhood.
https://neighborhood-dashboard.codeforkc.org/
MIT License
18 stars 9 forks source link

improvements to crime data: count each incident only once, combine in… #146

Closed buzwells closed 5 years ago

buzwells commented 5 years ago

…cidents at same location in single marker, display count of incidents at location in marker.

buzwells commented 5 years ago

Unfortunately, the diff on the jsx file is messy, due to some spacing changes. The core changes involved aggregating crimes at a single location, displaying a count of crimes in the markers and then displaying a line for each in the popup for the marker.