mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
fixed clearing polyline
This commit is contained in:
parent
807bea9ec2
commit
a05ebaa4ad
2 changed files with 6 additions and 2 deletions
|
@ -112,6 +112,10 @@ L.Polyline.polylineEditor = L.Polyline.extend({
|
|||
}
|
||||
|
||||
this._reloadPolyline();
|
||||
},
|
||||
|
||||
clear: () => {
|
||||
this.setPoints([]);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue