diff --git a/examples/tracing.js b/examples/tracing.js index 8b4ef312c6..e3854b3ad1 100644 --- a/examples/tracing.js +++ b/examples/tracing.js @@ -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;