Hide svg during map transitions

This commit is contained in:
Franc Camps-Febrer
2018-12-19 15:08:51 +01:00
parent 3057bfd14d
commit 8887e60c43
2 changed files with 8 additions and 7 deletions

View File

@@ -46,6 +46,7 @@ class MapEvents extends React.Component {
<g
className="location"
transform={`translate(${x}, ${y})`}
style={{ transition: 'transform 0.1s' }}
>
{Object.keys(eventsByCategory).map(cat => {
return this.renderCategory(eventsByCategory[cat], cat)