Google 지도에 HTML5 지리적 위치 정확도를 표시하려면 다음 코드를 사용하십시오 -
var lat = position.coords.latitude; var longitude = position.coords.longitude; var accuracy = position.coords.accuracy; var center = new google.maps.LatLng(lat, longitude); var a = new google.maps.Marker({ position: center map: icon: }); var mySphere = new google.maps.Circle({ center: centerPosition, radius: accuracy, map: fillColor: fillOpacity: strokeColor: strokeOpacity: }); map.fitBounds(mySphere.getBounds());