diff --git a/imports/ui/pages/FiresMap/FiresMap.js b/imports/ui/pages/FiresMap/FiresMap.js
index cf7a9d8..0d7f4ae 100644
--- a/imports/ui/pages/FiresMap/FiresMap.js
+++ b/imports/ui/pages/FiresMap/FiresMap.js
@@ -152,7 +152,7 @@ class FiresMap extends React.Component {
}
centerOnUserLocation(viewport) {
- this.setState({ viewport });
+ this.setState({ viewport: { center: viewport.center, zoom: 10 } });
}
useMarkers(use) {
@@ -218,50 +218,51 @@ class FiresMap extends React.Component {
-
-
- { (this.props.activefires.length + this.props.firealerts.length) === 0 ?
- No hay fuegos activos en esta zona del mapa. {{ countTotal: this.props.activefirestotal }} fuegos activos en el mundo. Actualizado . :
- En rojo, {{ count: this.props.activefires.length + this.props.firealerts.length }} fuegos activos. {{ countTotal: this.props.activefirestotal }} fuegos activos en el mundo. Actualizado .
- }
-
- {isNotHomeAndMobile() && this.props.firealerts.length > 0 &&
- En naranja, los fuegos notificados por nuestros usuarios/as recientemente.
}
- {isNotHomeAndMobile() && this.props.firealerts.length === 0 && !isAnyMobile &&
+ Fuegos activos
+
+
+ {isNotHomeAndMobile() &&
+
+ this.onAutocompleteChange(value)}
+ />
+ this.setShowSubsUnion(e.target.checked)}>
+ Resaltar en verde el área vigilada por nuestros usuarios/as (*)
+
+ {(this.state.viewport.zoom >= MAXZOOM) &&
+ this.useMarkers(e.target.checked)}>
+ Resaltar los fuegos con un marcador
+ }
+ }
+
+
+
+ { (this.props.activefires.length + this.props.firealerts.length) === 0 ?
+ No hay fuegos activos en esta zona del mapa. {{ countTotal: this.props.activefirestotal }} fuegos activos en el mundo. Actualizado . :
+ En rojo, {{ count: this.props.activefires.length + this.props.firealerts.length }} fuegos activos. {{ countTotal: this.props.activefirestotal }} fuegos activos en el mundo. Actualizado .
+ }
+
+ {isNotHomeAndMobile() && this.props.firealerts.length > 0 &&
+ En naranja, los fuegos notificados por nuestros usuarios/as recientemente.
}
+ { /* disabled */ false && isNotHomeAndMobile() && this.props.firealerts.length === 0 && !isAnyMobile &&
No hay fuegos notificados recientemente por nuestros usuarios/as en esta zona.
}
-
-
- {isNotHomeAndMobile() &&
-
- this.onAutocompleteChange(value)}
- />
- this.setShowSubsUnion(e.target.checked)}>
- Resaltar en verde el área vigilada por nuestros usuarios/as (*)
-
- {(this.state.viewport.zoom >= MAXZOOM) &&
- this.useMarkers(e.target.checked)}>
- Resaltar los fuegos con un marcador
- }
- }
-
- { this.state.viewport.zoom >= MAXZOOMREACTIVE ?
- Los fuegos activos se actualizan en tiempo cuasi real. :
- Haga zoom en una zona de su interés si quiere que los fuegos se actualicen en tiempo real.
- }
-
-
-
-
- {this.props.loading || !this.props.subsready ?
-
- : ''}
+
+
+ { this.state.viewport.zoom >= MAXZOOMREACTIVE ?
+ Los fuegos activos se actualizan en tiempo cuasi real. :
+ Haga zoom en una zona de su interés si quiere que los fuegos se actualicen en tiempo real.
+ }
+
+
+
+
+ {this.props.loading || !this.props.subsready ?
+