Skip to content

Commit

Permalink
Fit map only on users
Browse files Browse the repository at this point in the history
  • Loading branch information
VonOx committed Jun 28, 2021
1 parent 70d1dd9 commit a31845d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions front/src/routes/map/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class MapComponent extends Component {
})
})
.addTo(this.leafletMap);
this.markerArray.push(this.houseMarkers[house.id]);
}
});
}
Expand All @@ -103,8 +102,6 @@ class MapComponent extends Component {
this.areaMarkers[area.id].on('click', () => {
route(`/dashboard/maps/area/edit/${area.selector}`);
});

this.markerArray.push(this.areaMarkers[area.id]);
});
}
};
Expand Down

0 comments on commit a31845d

Please sign in to comment.