Fixed circle delete bug

This commit is contained in:
Zakary Timson 2019-09-02 18:14:34 -04:00
parent cccad5a797
commit 03079dc861

View File

@ -68,7 +68,7 @@ export class MapService {
delete(...symbols) {
symbols.forEach(s => {
this.map.removeLayer(s);
this.circles = this.circles.filter(c => c != c);
this.circles = this.circles.filter(c => c != s);
this.markers = this.markers.filter(m => m != s);
this.measurements = this.measurements.filter(m => m != s);
this.polygons = this.polygons.filter(p => p != s);