diff --git a/map/kyori/runnig.js b/map/kyori/runnig.js index 35f6fc3..683b92d 100644 --- a/map/kyori/runnig.js +++ b/map/kyori/runnig.js @@ -71,9 +71,10 @@ } -mymap.on('click', measurePath); // クリックイベントで measurePath() +mymap.on(); // クリックイベントで measurePath() mymap.on('contextmenu', removePoint); // 右クリックで removePoint() // id="undo" のボタンクリックで「1つ取消」 document.getElementById('undo').addEventListener('click', removePoint); // id="finish" のボタンクリックで「終了」 document.getElementById('finish').addEventListener('click', resetPath); +);