Skip to content

Commit a5e87e4

Browse files
committed
Merge branch 'feature/draw-vector-source-getter' of https://github.com/Dataport/polar into client/text-locator
2 parents 6eaf0f3 + d4f2ecb commit a5e87e4

File tree

2 files changed

+45
-42
lines changed

2 files changed

+45
-42
lines changed

package-lock.json

Lines changed: 42 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)