mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 12:58:35 +03:00
styleLocation prop in MapEvents
This commit is contained in:
@@ -162,6 +162,7 @@ class Map extends React.Component {
|
||||
<MapEvents
|
||||
svg={this.svgRef.current}
|
||||
locations={this.props.domain.locations}
|
||||
styleLocation={(loc) => ({ /* TODO: add styles by location */ })}
|
||||
categories={this.props.domain.categories}
|
||||
map={this.map}
|
||||
mapTransformX={this.state.mapTransformX}
|
||||
|
||||
Reference in New Issue
Block a user