mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
triggering on-something-changed
This commit is contained in:
parent
2dab345fe8
commit
1ca2691a15
6 changed files with 35 additions and 7 deletions
|
@ -22,6 +22,7 @@ export class Editor {
|
|||
setTitle,
|
||||
setAddress,
|
||||
getUser,
|
||||
triggerOnChange,
|
||||
}) {
|
||||
this.logo = DEFAULT_LOGO;
|
||||
this.owner = null;
|
||||
|
@ -32,9 +33,9 @@ export class Editor {
|
|||
} = this;
|
||||
|
||||
this.poly = new Poly({
|
||||
map, routerMoveStart, lockMapClicks, setTotalDist
|
||||
map, routerMoveStart, lockMapClicks, setTotalDist, triggerOnChange
|
||||
});
|
||||
this.stickers = new Stickers({ map, lockMapClicks });
|
||||
this.stickers = new Stickers({ map, lockMapClicks, triggerOnChange });
|
||||
this.router = new Router({
|
||||
map, lockMapClicks, setRouterPoints, changeMode, pushPolyPoints
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue