mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 21:08:36 +03:00
Make map events as slices based on categories
This commit is contained in:
@@ -192,6 +192,7 @@ class Map extends React.Component {
|
||||
*/
|
||||
styleLocation (location) {
|
||||
const noEvents = location.events.length
|
||||
|
||||
return [
|
||||
null,
|
||||
() => noEvents > 1 ? <text className='location-count' dx='-3' dy='4'>{noEvents}</text> : null
|
||||
|
||||
Reference in New Issue
Block a user