Skip to content

Commit d4f2ecb

Browse files
committed
add vector source getter
1 parent 86b1667 commit d4f2ecb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/plugins/Draw/src/store/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ export const makeStoreModule = () => {
3434
actions,
3535
getters: {
3636
...generateSimpleGetters(getInitialState()),
37+
drawSource() {
38+
return drawSource
39+
},
3740
selectableDrawModes(_, { configuration }) {
3841
/* eslint-disable @typescript-eslint/naming-convention */
3942
// NOTE: Keys are directly used as technical keys for ol/interaction/Draw and are allowed to differ from the naming scheme.

0 commit comments

Comments
 (0)