We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79c252 commit dbb2cecCopy full SHA for dbb2cec
packages/plugins/Gfi/src/store/actions/setupMultiSelection.ts
@@ -58,6 +58,8 @@ export function setupMultiSelection({
58
}
59
if (multiSelect !== 'circle') {
60
drawOptions.geometryFunction = createBox()
61
+ } else {
62
+ delete drawOptions.geometryFunction
63
64
const draw = new Draw(drawOptions)
65
draw.on('drawstart', () => {
@@ -77,7 +79,6 @@ export function setupMultiSelection({
77
79
)
78
80
map.addInteraction(draw)
81
-
82
if (directSelect) {
83
map.on('click', ({ coordinate, originalEvent }) => {
84
if (!isDrawing(map)) {
0 commit comments