Skip to content

Commit c5c0841

Browse files
authored
Merge pull request #116 from Dataport/feature/draw-vector-source-getter
add vector source getter to draw plugin
2 parents 786dc9c + ea03615 commit c5c0841

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎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)