mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
new-poly: it works (without dump)
This commit is contained in:
parent
fbf4c06370
commit
bb5b5e5ad5
3 changed files with 87 additions and 54 deletions
|
@ -38,13 +38,13 @@ export class Editor {
|
|||
map: { map }
|
||||
} = this;
|
||||
|
||||
this.poly = new Poly({
|
||||
this.poly = new NewPoly({
|
||||
map, routerMoveStart, lockMapClicks, setTotalDist: this.setDistance, triggerOnChange, editor: this,
|
||||
});
|
||||
|
||||
this.newPoly = new NewPoly({
|
||||
map, editor: this,
|
||||
});
|
||||
// this.newPoly = new NewPoly({
|
||||
// map, editor: this,
|
||||
// });
|
||||
|
||||
this.stickers = new Stickers({ map, lockMapClicks, triggerOnChange });
|
||||
this.router = new Router({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue