diff --git a/pages/ex-two.html b/pages/ex-two.html
index affe4b5..a8ddbd6 100644
--- a/pages/ex-two.html
+++ b/pages/ex-two.html
@@ -99,6 +99,8 @@
if (startPoint && endPoint) {
polyline = L.polyline([startPoint, endPoint], { color: "red" }).addTo(map);
+ startPoint = null;
+ endPoint = null;
}
});