add event counts for locations

This commit is contained in:
Lachlan Kermode
2019-01-08 13:00:33 +00:00
parent 56b8677827
commit 899e06d560
5 changed files with 15 additions and 11 deletions

View File

@@ -64,12 +64,12 @@ class MapEvents extends React.Component {
<g
className="location"
transform={`translate(${x}, ${y})`}
onClick={() => this.props.onSelect(location.events)}
>
<circle
className="location-event-marker"
r={7}
style={styles}
onClick={() => this.props.onSelect(events)}
>
</circle>
{extraRender ? extraRender() : null}