fixed stickers editing

This commit is contained in:
muerwre 2019-02-20 13:24:28 +07:00
parent f2758843bf
commit 76d6cb3717
4 changed files with 17 additions and 3 deletions

View file

@ -48,7 +48,7 @@ export class Editor {
// map, editor: this,
// });
this.stickers = new Stickers({ map, lockMapClicks, triggerOnChange });
this.stickers = new Stickers({ map, lockMapClicks, triggerOnChange, editor: this });
this.router = new Router({
map, lockMapClicks, setRouterPoints: this.setRouterPoints, changeMode, pushPolyPoints
});