|
|
|
14년 전
|
조회 1,113
|
|
|
|
14년 전
|
조회 1,201
|
|
|
|
14년 전
|
조회 1,076
|
|
|
|
14년 전
|
조회 5,189
|
|
|
|
14년 전
|
조회 1,067
|
|
|
|
14년 전
|
조회 5,466
|
|
|
|
14년 전
|
조회 1,781
|
|
|
|
14년 전
|
조회 1,598
|
|
|
|
14년 전
|
조회 1,041
|
|
|
|
14년 전
|
조회 1,233
|
|
|
선택이란
|
14년 전
|
조회 1,743
|
|
|
|
14년 전
|
조회 1,243
|
|
|
|
14년 전
|
조회 1,899
|
|
|
|
14년 전
|
조회 1,440
|
|
|
|
14년 전
|
조회 1,178
|
|
|
|
14년 전
|
조회 1,326
|
|
|
|
14년 전
|
조회 3,364
|
|
|
|
14년 전
|
조회 1,145
|
|
|
|
14년 전
|
조회 1,698
|
|
|
|
14년 전
|
조회 1,336
|
|
|
|
14년 전
|
조회 1,297
|
|
|
|
14년 전
|
조회 1,181
|
|
|
|
14년 전
|
조회 3,823
|
|
|
|
14년 전
|
조회 1,734
|
|
|
|
14년 전
|
조회 1,189
|
|
|
|
14년 전
|
조회 1,249
|
|
|
|
14년 전
|
조회 1,231
|
|
|
|
14년 전
|
조회 1,311
|
|
|
|
14년 전
|
조회 1,112
|
|
|
|
14년 전
|
조회 1,189
|
|
|
|
14년 전
|
조회 1,822
|
|
|
선택이란
|
14년 전
|
조회 3,684
|
|
|
|
14년 전
|
조회 2,113
|
|
|
|
14년 전
|
조회 1,178
|
|
|
|
14년 전
|
조회 1,163
|
|
|
|
14년 전
|
조회 1,281
|
|
|
|
14년 전
|
조회 1,151
|
|
|
|
14년 전
|
조회 1,254
|
|
|
|
14년 전
|
조회 1,384
|
|
|
|
14년 전
|
조회 1,124
|
|
|
|
14년 전
|
조회 3,605
|
|
|
|
14년 전
|
조회 3,505
|
|
|
|
14년 전
|
조회 1,324
|
|
|
|
14년 전
|
조회 1,827
|
|
|
|
14년 전
|
조회 1,449
|
|
|
|
14년 전
|
조회 1,283
|
|
|
|
14년 전
|
조회 3,803
|
|
|
|
14년 전
|
조회 2,793
|
|
|
|
14년 전
|
조회 2,396
|
|
|
|
14년 전
|
조회 2,300
|
|
|
|
14년 전
|
조회 1,091
|
|
|
|
14년 전
|
조회 1,855
|
|
|
|
14년 전
|
조회 1,077
|
|
|
|
14년 전
|
조회 1,041
|
|
|
|
14년 전
|
조회 1,101
|
|
|
|
14년 전
|
조회 1,517
|
|
|
|
14년 전
|
조회 1,538
|
|
|
|
14년 전
|
조회 2,172
|
|
|
|
14년 전
|
조회 1,339
|
|
|
|
14년 전
|
조회 1,558
|
|
|
|
14년 전
|
조회 1,731
|
|
|
|
14년 전
|
조회 1,714
|
|
|
|
14년 전
|
조회 1,099
|
|
|
|
14년 전
|
조회 2,283
|
|
|
|
14년 전
|
조회 1,440
|
|
|
|
14년 전
|
조회 1,758
|
|
|
|
14년 전
|
조회 1,522
|
|
|
|
14년 전
|
조회 1,839
|
|
|
|
14년 전
|
조회 1,963
|
|
|
|
14년 전
|
조회 1,378
|
|
|
|
14년 전
|
조회 1,608
|
|
|
|
14년 전
|
조회 1,866
|
|
|
|
14년 전
|
조회 1,972
|
|
|
|
14년 전
|
조회 1,305
|
|
|
|
14년 전
|
조회 1,508
|
|
|
|
14년 전
|
조회 2,161
|
|
|
|
14년 전
|
조회 3,292
|
|
|
|
14년 전
|
조회 2,524
|
|
|
|
14년 전
|
조회 2,598
|
|
|
|
14년 전
|
조회 2,026
|
|
|
|
14년 전
|
조회 1,807
|
|
|
|
14년 전
|
조회 1,718
|
|
|
|
14년 전
|
조회 1,474
|
|
|
|
14년 전
|
조회 970
|
|
|
|
14년 전
|
조회 1,896
|
|
|
|
14년 전
|
조회 4,959
|
|
|
|
14년 전
|
조회 1,870
|
|
|
|
14년 전
|
조회 1,636
|
|
|
|
14년 전
|
조회 1,142
|
|
|
|
14년 전
|
조회 1,374
|
|
|
선택이란
|
14년 전
|
조회 1,162
|
|
|
|
14년 전
|
조회 1,072
|
|
|
|
14년 전
|
조회 1,129
|
|
|
|
14년 전
|
조회 1,139
|
|
|
|
14년 전
|
조회 1,094
|
|
|
|
14년 전
|
조회 1,944
|
|
|
|
14년 전
|
조회 1,264
|
|
|
선택이란
|
14년 전
|
조회 1,122
|
|
|
|
14년 전
|
조회 1,061
|
|
|
|
14년 전
|
조회 1,132
|
댓글 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