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 099e588 commit 3c35817Copy full SHA for 3c35817
src/viewer.js
@@ -1,6 +1,6 @@
1
import 'ol/ol.css'
2
import Collection from 'ol/Collection'
3
-import Draw, { createRegularPolygon } from 'ol/interaction/Draw'
+import Draw, { createBox } from 'ol/interaction/Draw'
4
import EVENT from './events'
5
import publish from './eventPublisher'
6
import Feature from 'ol/Feature'
@@ -2113,7 +2113,7 @@ class VolumeImageViewer {
2113
box: {
2114
type: 'Circle',
2115
geometryName: 'Box',
2116
- geometryFunction: createRegularPolygon(4)
+ geometryFunction: createBox()
2117
},
2118
polygon: {
2119
type: 'Polygon',
0 commit comments