mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 21:08:36 +03:00
allow custom styles in datetimes passed from Timeline
This commit is contained in:
@@ -165,9 +165,10 @@ class Map extends React.Component {
|
||||
* necessary. The function should return a regular style object.
|
||||
*/
|
||||
styleLocation(location) {
|
||||
return {
|
||||
fill: 'orange'
|
||||
}
|
||||
return [
|
||||
{ fill: 'orange' },
|
||||
() => <text>ciao</text>
|
||||
]
|
||||
}
|
||||
|
||||
renderEvents() {
|
||||
|
||||
Reference in New Issue
Block a user