new-poly: it works (without dump)

This commit is contained in:
muerwre 2018-12-20 18:36:07 +07:00
parent fbf4c06370
commit bb5b5e5ad5
3 changed files with 87 additions and 54 deletions

View file

@ -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({