|
|
|
14년 전
|
조회 1,116
|
|
|
|
14년 전
|
조회 1,203
|
|
|
|
14년 전
|
조회 1,078
|
|
|
|
14년 전
|
조회 5,193
|
|
|
|
14년 전
|
조회 1,072
|
|
|
|
14년 전
|
조회 5,471
|
|
|
|
14년 전
|
조회 1,788
|
|
|
|
14년 전
|
조회 1,601
|
|
|
|
14년 전
|
조회 1,046
|
|
|
|
14년 전
|
조회 1,237
|
|
|
선택이란
|
14년 전
|
조회 1,748
|
|
|
|
14년 전
|
조회 1,244
|
|
|
|
14년 전
|
조회 1,904
|
|
|
|
14년 전
|
조회 1,442
|
|
|
|
14년 전
|
조회 1,183
|
|
|
|
14년 전
|
조회 1,329
|
|
|
|
14년 전
|
조회 3,371
|
|
|
|
14년 전
|
조회 1,146
|
|
|
|
14년 전
|
조회 1,701
|
|
|
|
14년 전
|
조회 1,340
|
|
|
|
14년 전
|
조회 1,302
|
|
|
|
14년 전
|
조회 1,186
|
|
|
|
14년 전
|
조회 3,829
|
|
|
|
14년 전
|
조회 1,738
|
|
|
|
14년 전
|
조회 1,193
|
|
|
|
14년 전
|
조회 1,253
|
|
|
|
14년 전
|
조회 1,237
|
|
|
|
14년 전
|
조회 1,314
|
|
|
|
14년 전
|
조회 1,114
|
|
|
|
14년 전
|
조회 1,194
|
|
|
|
14년 전
|
조회 1,827
|
|
|
선택이란
|
14년 전
|
조회 3,690
|
|
|
|
14년 전
|
조회 2,116
|
|
|
|
14년 전
|
조회 1,183
|
|
|
|
14년 전
|
조회 1,163
|
|
|
|
14년 전
|
조회 1,285
|
|
|
|
14년 전
|
조회 1,152
|
|
|
|
14년 전
|
조회 1,258
|
|
|
|
14년 전
|
조회 1,388
|
|
|
|
14년 전
|
조회 1,126
|
|
|
|
14년 전
|
조회 3,609
|
|
|
|
14년 전
|
조회 3,509
|
|
|
|
14년 전
|
조회 1,329
|
|
|
|
14년 전
|
조회 1,830
|
|
|
|
14년 전
|
조회 1,451
|
|
|
|
14년 전
|
조회 1,288
|
|
|
|
14년 전
|
조회 3,806
|
|
|
|
14년 전
|
조회 2,799
|
|
|
|
14년 전
|
조회 2,397
|
|
|
|
14년 전
|
조회 2,309
|
|
|
|
14년 전
|
조회 1,092
|
|
|
|
14년 전
|
조회 1,859
|
|
|
|
14년 전
|
조회 1,084
|
|
|
|
14년 전
|
조회 1,048
|
|
|
|
14년 전
|
조회 1,104
|
|
|
|
14년 전
|
조회 1,523
|
|
|
|
14년 전
|
조회 1,544
|
|
|
|
14년 전
|
조회 2,176
|
|
|
|
14년 전
|
조회 1,345
|
|
|
|
14년 전
|
조회 1,562
|
|
|
|
14년 전
|
조회 1,733
|
|
|
|
14년 전
|
조회 1,718
|
|
|
|
14년 전
|
조회 1,104
|
|
|
|
14년 전
|
조회 2,286
|
|
|
|
14년 전
|
조회 1,444
|
|
|
|
14년 전
|
조회 1,763
|
|
|
|
14년 전
|
조회 1,524
|
|
|
|
14년 전
|
조회 1,845
|
|
|
|
14년 전
|
조회 1,966
|
|
|
|
14년 전
|
조회 1,382
|
|
|
|
14년 전
|
조회 1,611
|
|
|
|
14년 전
|
조회 1,871
|
|
|
|
14년 전
|
조회 1,981
|
|
|
|
14년 전
|
조회 1,307
|
|
|
|
14년 전
|
조회 1,513
|
|
|
|
14년 전
|
조회 2,165
|
|
|
|
14년 전
|
조회 3,293
|
|
|
|
14년 전
|
조회 2,531
|
|
|
|
14년 전
|
조회 2,601
|
|
|
|
14년 전
|
조회 2,028
|
|
|
|
14년 전
|
조회 1,808
|
|
|
|
14년 전
|
조회 1,720
|
|
|
|
14년 전
|
조회 1,480
|
|
|
|
14년 전
|
조회 977
|
|
|
|
14년 전
|
조회 1,899
|
|
|
|
14년 전
|
조회 4,965
|
|
|
|
14년 전
|
조회 1,876
|
|
|
|
14년 전
|
조회 1,641
|
|
|
|
14년 전
|
조회 1,144
|
|
|
|
14년 전
|
조회 1,379
|
|
|
선택이란
|
14년 전
|
조회 1,166
|
|
|
|
14년 전
|
조회 1,074
|
|
|
|
14년 전
|
조회 1,131
|
|
|
|
14년 전
|
조회 1,145
|
|
|
|
14년 전
|
조회 1,097
|
|
|
|
14년 전
|
조회 1,947
|
|
|
|
14년 전
|
조회 1,266
|
|
|
선택이란
|
14년 전
|
조회 1,125
|
|
|
|
14년 전
|
조회 1,063
|
|
|
|
14년 전
|
조회 1,138
|
댓글 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