댓글 2개
제가 올린글에 다른글을 작성해주셨군요 ㅎㅎ 감사합니다.
이방법은 비슷한 방법이 있는걸로 알고있습니다만 ㅠㅠ..
동까지 정확하지 완벽하게 GPS가 잡히는게 아니더군요
위 링크소스랑 비슷한데 하단 소스가 더 간결해서 이걸 사용하고있었습니다..
문제점은 현재위치에서 수십미터가 떨어진곳이 잡히는 문제점이 있더군요 ..ㅎㅎ
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
<script src="http://maps.googleapis.com/maps/api/js?sensor=true"></script>
navigator.geolocation.getCurrentPosition(function(pos){
var lat = pos.coords.latitude;
var lng = pos.coords.longitude;
}
이방법은 비슷한 방법이 있는걸로 알고있습니다만 ㅠㅠ..
동까지 정확하지 완벽하게 GPS가 잡히는게 아니더군요
위 링크소스랑 비슷한데 하단 소스가 더 간결해서 이걸 사용하고있었습니다..
문제점은 현재위치에서 수십미터가 떨어진곳이 잡히는 문제점이 있더군요 ..ㅎㅎ
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
<script src="http://maps.googleapis.com/maps/api/js?sensor=true"></script>
navigator.geolocation.getCurrentPosition(function(pos){
var lat = pos.coords.latitude;
var lng = pos.coords.longitude;
}
게시글 목록
| 번호 | 제목 |
|---|---|
| 1717629 | |
| 1717626 | |
| 1717625 | |
| 1717621 | |
| 1717619 | |
| 1717611 | |
| 1717610 | |
| 1717609 | |
| 1717607 | |
| 1717601 | |
| 1717598 | |
| 1717591 | |
| 1717590 | |
| 1717583 | |
| 1717575 | |
| 1717572 | |
| 1717568 | |
| 1717566 | |
| 1717549 | |
| 1717545 | |
| 1717533 | |
| 1717512 | |
| 1717511 | |
| 1717508 | |
| 1717495 | |
| 1717479 | |
| 1717473 | |
| 1717470 | |
| 1717463 | |
| 1717452 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기