Removed comment
This commit is contained in:
parent
650a30a244
commit
a02cccb400
1 changed files with 2 additions and 2 deletions
|
|
@ -111,7 +111,7 @@ class FiresMap extends React.Component {
|
||||||
handleLeafletLoad(map) {
|
handleLeafletLoad(map) {
|
||||||
// console.log(map);
|
// console.log(map);
|
||||||
if (map) {
|
if (map) {
|
||||||
console.log('Firesmap loading');
|
// console.log('Firesmap loading');
|
||||||
try {
|
try {
|
||||||
const bounds = this.getMap().getBounds();
|
const bounds = this.getMap().getBounds();
|
||||||
mapSize.set([bounds.getNorthEast(), bounds.getSouthWest()]);
|
mapSize.set([bounds.getNorthEast(), bounds.getSouthWest()]);
|
||||||
|
|
@ -254,7 +254,7 @@ export default translate([], { wait: true })(withTracker(() => {
|
||||||
Meteor.autorun(() => {
|
Meteor.autorun(() => {
|
||||||
if (geolocation.get() && init) {
|
if (geolocation.get() && init) {
|
||||||
center.set(geolocation.get());
|
center.set(geolocation.get());
|
||||||
console.log(`Geolocation ${geolocation.get()}`);
|
// console.log(`Geolocation ${geolocation.get()}`);
|
||||||
init = false;
|
init = false;
|
||||||
}
|
}
|
||||||
if (mapSize.get() && mapSize.get()[0].lng && mapSize.get()[1].lat) {
|
if (mapSize.get() && mapSize.get()[0].lng && mapSize.get()[1].lat) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue