|
|
|
14년 전
|
조회 1,462
|
|
|
|
14년 전
|
조회 1,533
|
|
|
|
14년 전
|
조회 1,447
|
|
|
|
14년 전
|
조회 5,519
|
|
|
|
14년 전
|
조회 1,421
|
|
|
|
14년 전
|
조회 5,820
|
|
|
|
14년 전
|
조회 2,118
|
|
|
|
14년 전
|
조회 1,917
|
|
|
|
14년 전
|
조회 1,383
|
|
|
|
14년 전
|
조회 1,562
|
|
|
선택이란
|
14년 전
|
조회 2,084
|
|
|
|
14년 전
|
조회 1,572
|
|
|
|
14년 전
|
조회 2,228
|
|
|
|
14년 전
|
조회 1,761
|
|
|
|
14년 전
|
조회 1,539
|
|
|
|
14년 전
|
조회 1,674
|
|
|
|
14년 전
|
조회 3,718
|
|
|
|
14년 전
|
조회 1,445
|
|
|
|
14년 전
|
조회 2,048
|
|
|
|
14년 전
|
조회 1,664
|
|
|
|
14년 전
|
조회 1,619
|
|
|
|
14년 전
|
조회 1,502
|
|
|
|
14년 전
|
조회 4,170
|
|
|
|
14년 전
|
조회 2,052
|
|
|
|
14년 전
|
조회 1,518
|
|
|
|
14년 전
|
조회 1,610
|
|
|
|
14년 전
|
조회 1,586
|
|
|
|
14년 전
|
조회 1,664
|
|
|
|
14년 전
|
조회 1,428
|
|
|
|
14년 전
|
조회 1,513
|
|
|
|
14년 전
|
조회 2,148
|
|
|
선택이란
|
14년 전
|
조회 4,029
|
|
|
|
14년 전
|
조회 2,440
|
|
|
|
14년 전
|
조회 1,526
|
|
|
|
14년 전
|
조회 1,509
|
|
|
|
14년 전
|
조회 1,616
|
|
|
|
14년 전
|
조회 1,495
|
|
|
|
14년 전
|
조회 1,599
|
|
|
|
14년 전
|
조회 1,716
|
|
|
|
14년 전
|
조회 1,411
|
|
|
|
14년 전
|
조회 3,911
|
|
|
|
14년 전
|
조회 3,796
|
|
|
|
14년 전
|
조회 1,623
|
|
|
|
14년 전
|
조회 2,126
|
|
|
|
14년 전
|
조회 1,749
|
|
|
|
14년 전
|
조회 1,583
|
|
|
|
14년 전
|
조회 4,080
|
|
|
|
14년 전
|
조회 3,072
|
|
|
|
14년 전
|
조회 2,659
|
|
|
|
14년 전
|
조회 2,583
|
|
|
|
14년 전
|
조회 1,365
|
|
|
|
14년 전
|
조회 2,124
|
|
|
|
14년 전
|
조회 1,372
|
|
|
|
14년 전
|
조회 1,401
|
|
|
|
14년 전
|
조회 1,429
|
|
|
|
14년 전
|
조회 1,859
|
|
|
|
14년 전
|
조회 1,856
|
|
|
|
14년 전
|
조회 2,510
|
|
|
|
14년 전
|
조회 1,664
|
|
|
|
14년 전
|
조회 1,913
|
|
|
|
14년 전
|
조회 2,099
|
|
|
|
14년 전
|
조회 2,077
|
|
|
|
14년 전
|
조회 1,468
|
|
|
|
14년 전
|
조회 2,621
|
|
|
|
14년 전
|
조회 1,796
|
|
|
|
14년 전
|
조회 2,098
|
|
|
|
14년 전
|
조회 1,870
|
|
|
|
14년 전
|
조회 2,218
|
|
|
|
14년 전
|
조회 2,326
|
|
|
|
14년 전
|
조회 1,747
|
|
|
|
14년 전
|
조회 1,974
|
|
|
|
14년 전
|
조회 2,219
|
|
|
|
14년 전
|
조회 2,344
|
|
|
|
14년 전
|
조회 1,682
|
|
|
|
14년 전
|
조회 1,845
|
|
|
|
14년 전
|
조회 2,539
|
|
|
|
14년 전
|
조회 3,634
|
|
|
|
14년 전
|
조회 2,884
|
|
|
|
14년 전
|
조회 2,946
|
|
|
|
14년 전
|
조회 2,404
|
|
|
|
14년 전
|
조회 2,195
|
|
|
|
14년 전
|
조회 2,073
|
|
|
|
14년 전
|
조회 1,843
|
|
|
|
14년 전
|
조회 1,346
|
|
|
|
14년 전
|
조회 2,252
|
|
|
|
14년 전
|
조회 5,353
|
|
|
|
14년 전
|
조회 2,231
|
|
|
|
14년 전
|
조회 2,009
|
|
|
|
14년 전
|
조회 1,497
|
|
|
|
14년 전
|
조회 1,747
|
|
|
선택이란
|
14년 전
|
조회 1,556
|
|
|
|
14년 전
|
조회 1,425
|
|
|
|
14년 전
|
조회 1,524
|
|
|
|
14년 전
|
조회 1,503
|
|
|
|
14년 전
|
조회 1,468
|
|
|
|
14년 전
|
조회 2,313
|
|
|
|
14년 전
|
조회 1,640
|
|
|
선택이란
|
14년 전
|
조회 1,518
|
|
|
|
14년 전
|
조회 1,440
|
|
|
|
14년 전
|
조회 1,519
|
댓글 6개
var html = 'Opening marker #' + n;
// Place markers on map randomly.
var randX = Math.random();
var randY = Math.random();
randX *= (randX * 1000000) % 2 == 0 ? 1 : -1;
randY *= (randY * 1000000) % 2 == 0 ? 1 : -1;
var randLatLng = new google.maps.LatLng(
center.lat() + (randX * 0.1),
center.lng() + (randY * 0.1));
var marker = new google.maps.Marker({
map: Gnu.map,
title: 'Marker #' + n,
position: randLatLng,
draggable: true
});
Gnu.markers.push(marker);
// Create marker info window.
var infoWindow = new google.maps.InfoWindow({
content: [
'<h3 style="">',
'Marker #' + n,
'</h3>',
'Located at:',
'<div style="font-size: 0.8em;">',
randLatLng.lat() + ', ' + randLatLng.lng(),
'</div>'
].join(''),
size: new google.maps.Size(200, 80)
});
// Add marker click event listener.
google.maps.event.addListener(
marker, 'click', Gnu.openInfoWindow(infoWindow, marker));
// Generate list elements for each marker.
var li = document.createElement('li');
var aSel = document.createElement('a');
aSel.href = 'javascript:void(0);';
aSel.innerHTML = 'Open Marker #' + n;
aSel.onclick = Gnu.generateTriggerCallback(marker, 'click');
li.appendChild(aSel);
ul.appendChild(li);
// Sum up all lat/lng to calculate center all points.
avg.lat += randLatLng.lat();
avg.lng += randLatLng.lng();
}
자바스크립트의 이 부분에서 스킨의 게시판과 연동할려면
<?
for ($i=0; $i<count($list); $i++) {
.........
$lat=$list[$i][wr_2];
$lng=$list[$i][wr_3];
echo("var randLatLng = new google.maps.LatLng($lat, $lng);\n");
.........
}
?>
이런식으로 처리하면 될것도 같은데, 중간에 Infowindows 의 content부분은 어떤식으로 처리를 해야 될지요? 여기세 wr_subject와 wr_4내용을 넣고 싶은데, 어떤식으로 해야 되는지요?
많은 도움되시길..
http://linkma.kr/gpsmap.php