|
|
|
14년 전
|
조회 1,589
|
|
|
|
14년 전
|
조회 1,670
|
|
|
|
14년 전
|
조회 1,592
|
|
|
|
14년 전
|
조회 5,661
|
|
|
|
14년 전
|
조회 1,538
|
|
|
|
14년 전
|
조회 5,943
|
|
|
|
14년 전
|
조회 2,261
|
|
|
|
14년 전
|
조회 2,052
|
|
|
|
14년 전
|
조회 1,507
|
|
|
|
14년 전
|
조회 1,690
|
|
|
선택이란
|
14년 전
|
조회 2,232
|
|
|
|
14년 전
|
조회 1,706
|
|
|
|
14년 전
|
조회 2,362
|
|
|
|
14년 전
|
조회 1,878
|
|
|
|
14년 전
|
조회 1,652
|
|
|
|
14년 전
|
조회 1,799
|
|
|
|
14년 전
|
조회 3,842
|
|
|
|
14년 전
|
조회 1,597
|
|
|
|
14년 전
|
조회 2,195
|
|
|
|
14년 전
|
조회 1,798
|
|
|
|
14년 전
|
조회 1,756
|
|
|
|
14년 전
|
조회 1,618
|
|
|
|
14년 전
|
조회 4,290
|
|
|
|
14년 전
|
조회 2,207
|
|
|
|
14년 전
|
조회 1,654
|
|
|
|
14년 전
|
조회 1,738
|
|
|
|
14년 전
|
조회 1,730
|
|
|
|
14년 전
|
조회 1,800
|
|
|
|
14년 전
|
조회 1,566
|
|
|
|
14년 전
|
조회 1,657
|
|
|
|
14년 전
|
조회 2,301
|
|
|
선택이란
|
14년 전
|
조회 4,170
|
|
|
|
14년 전
|
조회 2,599
|
|
|
|
14년 전
|
조회 1,666
|
|
|
|
14년 전
|
조회 1,642
|
|
|
|
14년 전
|
조회 1,755
|
|
|
|
14년 전
|
조회 1,665
|
|
|
|
14년 전
|
조회 1,757
|
|
|
|
14년 전
|
조회 1,876
|
|
|
|
14년 전
|
조회 1,564
|
|
|
|
14년 전
|
조회 4,046
|
|
|
|
14년 전
|
조회 3,958
|
|
|
|
14년 전
|
조회 1,768
|
|
|
|
14년 전
|
조회 2,273
|
|
|
|
14년 전
|
조회 1,886
|
|
|
|
14년 전
|
조회 1,711
|
|
|
|
14년 전
|
조회 4,221
|
|
|
|
14년 전
|
조회 3,211
|
|
|
|
14년 전
|
조회 2,801
|
|
|
|
14년 전
|
조회 2,738
|
|
|
|
14년 전
|
조회 1,500
|
|
|
|
14년 전
|
조회 2,272
|
|
|
|
14년 전
|
조회 1,502
|
|
|
|
14년 전
|
조회 1,535
|
|
|
|
14년 전
|
조회 1,575
|
|
|
|
14년 전
|
조회 2,002
|
|
|
|
14년 전
|
조회 2,021
|
|
|
|
14년 전
|
조회 2,662
|
|
|
|
14년 전
|
조회 1,811
|
|
|
|
14년 전
|
조회 2,052
|
|
|
|
14년 전
|
조회 2,240
|
|
|
|
14년 전
|
조회 2,227
|
|
|
|
14년 전
|
조회 1,599
|
|
|
|
14년 전
|
조회 2,771
|
|
|
|
14년 전
|
조회 1,952
|
|
|
|
14년 전
|
조회 2,226
|
|
|
|
14년 전
|
조회 2,024
|
|
|
|
14년 전
|
조회 2,362
|
|
|
|
14년 전
|
조회 2,470
|
|
|
|
14년 전
|
조회 1,891
|
|
|
|
14년 전
|
조회 2,105
|
|
|
|
14년 전
|
조회 2,364
|
|
|
|
14년 전
|
조회 2,473
|
|
|
|
14년 전
|
조회 1,822
|
|
|
|
14년 전
|
조회 1,982
|
|
|
|
14년 전
|
조회 2,678
|
|
|
|
14년 전
|
조회 3,792
|
|
|
|
14년 전
|
조회 3,031
|
|
|
|
14년 전
|
조회 3,100
|
|
|
|
14년 전
|
조회 2,539
|
|
|
|
14년 전
|
조회 2,326
|
|
|
|
14년 전
|
조회 2,220
|
|
|
|
14년 전
|
조회 1,978
|
|
|
|
14년 전
|
조회 1,479
|
|
|
|
14년 전
|
조회 2,393
|
|
|
|
14년 전
|
조회 5,510
|
|
|
|
14년 전
|
조회 2,381
|
|
|
|
14년 전
|
조회 2,145
|
|
|
|
14년 전
|
조회 1,643
|
|
|
|
14년 전
|
조회 1,870
|
|
|
선택이란
|
14년 전
|
조회 1,706
|
|
|
|
14년 전
|
조회 1,558
|
|
|
|
14년 전
|
조회 1,663
|
|
|
|
14년 전
|
조회 1,639
|
|
|
|
14년 전
|
조회 1,594
|
|
|
|
14년 전
|
조회 2,447
|
|
|
|
14년 전
|
조회 1,777
|
|
|
선택이란
|
14년 전
|
조회 1,668
|
|
|
|
14년 전
|
조회 1,574
|
|
|
|
14년 전
|
조회 1,645
|
댓글 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