diff --git a/examples/modify-feature.html b/examples/modify-feature.html index 8cec2306af..cb19858ddd 100644 --- a/examples/modify-feature.html +++ b/examples/modify-feature.html @@ -96,6 +96,7 @@ if (rotate || drag) { controls.modify.mode &= ~OpenLayers.Control.ModifyFeature.RESHAPE; } + controls.modify.createVertices = document.getElementById("createVertices").checked; var sides = parseInt(document.getElementById("sides").value); sides = Math.max(3, isNaN(sides) ? 0 : sides); controls.regular.handler.sides = sides; @@ -161,6 +162,11 @@