Minor simplification
This commit is contained in:
@@ -249,7 +249,7 @@ function addInteraction() {
|
||||
if (value !== 'None') {
|
||||
drawInteraction = new Draw({
|
||||
source: drawVector.getSource(),
|
||||
type: typeSelect.value,
|
||||
type: value,
|
||||
});
|
||||
drawInteraction.on('drawstart', () => {
|
||||
drawing = true;
|
||||
|
||||
Reference in New Issue
Block a user