|
|
|
14년 전
|
조회 1,110
|
|
|
|
14년 전
|
조회 1,199
|
|
|
|
14년 전
|
조회 1,071
|
|
|
|
14년 전
|
조회 5,187
|
|
|
|
14년 전
|
조회 1,062
|
|
|
|
14년 전
|
조회 5,461
|
|
|
|
14년 전
|
조회 1,775
|
|
|
|
14년 전
|
조회 1,595
|
|
|
|
14년 전
|
조회 1,039
|
|
|
|
14년 전
|
조회 1,232
|
|
|
선택이란
|
14년 전
|
조회 1,741
|
|
|
|
14년 전
|
조회 1,240
|
|
|
|
14년 전
|
조회 1,895
|
|
|
|
14년 전
|
조회 1,439
|
|
|
|
14년 전
|
조회 1,177
|
|
|
|
14년 전
|
조회 1,323
|
|
|
|
14년 전
|
조회 3,361
|
|
|
|
14년 전
|
조회 1,141
|
|
|
|
14년 전
|
조회 1,695
|
|
|
|
14년 전
|
조회 1,335
|
|
|
|
14년 전
|
조회 1,292
|
|
|
|
14년 전
|
조회 1,177
|
|
|
|
14년 전
|
조회 3,820
|
|
|
|
14년 전
|
조회 1,730
|
|
|
|
14년 전
|
조회 1,186
|
|
|
|
14년 전
|
조회 1,245
|
|
|
|
14년 전
|
조회 1,228
|
|
|
|
14년 전
|
조회 1,310
|
|
|
|
14년 전
|
조회 1,109
|
|
|
|
14년 전
|
조회 1,184
|
|
|
|
14년 전
|
조회 1,821
|
|
|
선택이란
|
14년 전
|
조회 3,681
|
|
|
|
14년 전
|
조회 2,111
|
|
|
|
14년 전
|
조회 1,176
|
|
|
|
14년 전
|
조회 1,161
|
|
|
|
14년 전
|
조회 1,278
|
|
|
|
14년 전
|
조회 1,147
|
|
|
|
14년 전
|
조회 1,249
|
|
|
|
14년 전
|
조회 1,381
|
|
|
|
14년 전
|
조회 1,123
|
|
|
|
14년 전
|
조회 3,603
|
|
|
|
14년 전
|
조회 3,505
|
|
|
|
14년 전
|
조회 1,322
|
|
|
|
14년 전
|
조회 1,824
|
|
|
|
14년 전
|
조회 1,447
|
|
|
|
14년 전
|
조회 1,282
|
|
|
|
14년 전
|
조회 3,800
|
|
|
|
14년 전
|
조회 2,787
|
|
|
|
14년 전
|
조회 2,394
|
|
|
|
14년 전
|
조회 2,296
|
|
|
|
14년 전
|
조회 1,084
|
|
|
|
14년 전
|
조회 1,854
|
|
|
|
14년 전
|
조회 1,072
|
|
|
|
14년 전
|
조회 1,038
|
|
|
|
14년 전
|
조회 1,098
|
|
|
|
14년 전
|
조회 1,515
|
|
|
|
14년 전
|
조회 1,536
|
|
|
|
14년 전
|
조회 2,168
|
|
|
|
14년 전
|
조회 1,335
|
|
|
|
14년 전
|
조회 1,557
|
|
|
|
14년 전
|
조회 1,728
|
|
|
|
14년 전
|
조회 1,713
|
|
|
|
14년 전
|
조회 1,097
|
|
|
|
14년 전
|
조회 2,280
|
|
|
|
14년 전
|
조회 1,437
|
|
|
|
14년 전
|
조회 1,757
|
|
|
|
14년 전
|
조회 1,517
|
|
|
|
14년 전
|
조회 1,836
|
|
|
|
14년 전
|
조회 1,961
|
|
|
|
14년 전
|
조회 1,378
|
|
|
|
14년 전
|
조회 1,607
|
|
|
|
14년 전
|
조회 1,862
|
|
|
|
14년 전
|
조회 1,969
|
|
|
|
14년 전
|
조회 1,298
|
|
|
|
14년 전
|
조회 1,507
|
|
|
|
14년 전
|
조회 2,159
|
|
|
|
14년 전
|
조회 3,284
|
|
|
|
14년 전
|
조회 2,520
|
|
|
|
14년 전
|
조회 2,590
|
|
|
|
14년 전
|
조회 2,024
|
|
|
|
14년 전
|
조회 1,802
|
|
|
|
14년 전
|
조회 1,717
|
|
|
|
14년 전
|
조회 1,469
|
|
|
|
14년 전
|
조회 966
|
|
|
|
14년 전
|
조회 1,893
|
|
|
|
14년 전
|
조회 4,957
|
|
|
|
14년 전
|
조회 1,866
|
|
|
|
14년 전
|
조회 1,634
|
|
|
|
14년 전
|
조회 1,136
|
|
|
|
14년 전
|
조회 1,374
|
|
|
선택이란
|
14년 전
|
조회 1,160
|
|
|
|
14년 전
|
조회 1,069
|
|
|
|
14년 전
|
조회 1,127
|
|
|
|
14년 전
|
조회 1,134
|
|
|
|
14년 전
|
조회 1,093
|
|
|
|
14년 전
|
조회 1,942
|
|
|
|
14년 전
|
조회 1,261
|
|
|
선택이란
|
14년 전
|
조회 1,118
|
|
|
|
14년 전
|
조회 1,059
|
|
|
|
14년 전
|
조회 1,130
|
댓글 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