More work in home

This commit is contained in:
vjrj 2017-12-11 12:30:35 +01:00
parent 9fd889f77f
commit b1c9aad0ea
12 changed files with 48 additions and 36 deletions

View file

@ -264,7 +264,7 @@ class FiresMap extends React.Component {
</Col>
</Row>
<Row>
// https://github.com/CliffCloud/Leaflet.Sleep
{/* https://github.com/CliffCloud/Leaflet.Sleep */}
<Map ref="fireMap"
animate={true}
minZoom={5}
@ -272,7 +272,7 @@ class FiresMap extends React.Component {
onClick={this.onClickReset}
viewport={this.state.viewport}
onViewportChanged={this.onViewportChanged}
sleep={true}
sleep={window.location.pathname === '/'}
sleepTime={750}
wakeTime={750}
sleepNote={true}