Skip to content

Commit 71ce398

Browse files
committed
[Map] add definition to after create events in controller
1 parent 5665746 commit 71ce398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Map/assets/dist/abstract_map_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class default_1 extends Controller {
7474
return ({ definition }) => {
7575
this.dispatchEvent(eventBefore, { definition });
7676
const drawing = factory({ definition });
77-
this.dispatchEvent(eventAfter, { [type]: drawing });
77+
this.dispatchEvent(eventAfter, { [type]: drawing, definition: definition });
7878
draws.set(definition['@id'], drawing);
7979
return drawing;
8080
};

0 commit comments

Comments
 (0)