diff --git a/map/gps/gps-chase.js b/map/gps/gps-chase.js index 800a9a3..a11861a 100644 --- a/map/gps/gps-chase.js +++ b/map/gps/gps-chase.js @@ -85,6 +85,7 @@ function checkButton(){ answer = document.getElementById( "mytext" ).value ; msg.innerText = '送信できました'; + var latlng = L.latLng([pos.coords.latitude, pos.coords.longitude]); var latlng1 = L.latLng([38.879232, 139.853824]); if(latlng.distanceTo(latlng1) < 50){ if(answer == 2236){