diff --git a/map/game/game.js b/map/game/game.js index 27c7ff6..b6914a0 100644 --- a/map/game/game.js +++ b/map/game/game.js @@ -134,7 +134,7 @@ return null; // 何もせず return } path.push(e.latlng); // クリック緯度経度を配列に追加 - var rm = gpsmarker; + gpsmarker = null; if (path.length == 1) { // 始点未設定なら // 始点終点マーカを生成しマップに貼り付けポップアップ文字列を登録 sMarker = L.marker(path[0]).addTo(mymap).bindPopup(imsg);