|
|
|
14년 전
|
조회 1,114
|
|
|
|
14년 전
|
조회 1,203
|
|
|
|
14년 전
|
조회 1,077
|
|
|
|
14년 전
|
조회 5,193
|
|
|
|
14년 전
|
조회 1,071
|
|
|
|
14년 전
|
조회 5,470
|
|
|
|
14년 전
|
조회 1,785
|
|
|
|
14년 전
|
조회 1,600
|
|
|
|
14년 전
|
조회 1,045
|
|
|
|
14년 전
|
조회 1,235
|
|
|
선택이란
|
14년 전
|
조회 1,746
|
|
|
|
14년 전
|
조회 1,244
|
|
|
|
14년 전
|
조회 1,903
|
|
|
|
14년 전
|
조회 1,442
|
|
|
|
14년 전
|
조회 1,181
|
|
|
|
14년 전
|
조회 1,328
|
|
|
|
14년 전
|
조회 3,367
|
|
|
|
14년 전
|
조회 1,146
|
|
|
|
14년 전
|
조회 1,699
|
|
|
|
14년 전
|
조회 1,338
|
|
|
|
14년 전
|
조회 1,298
|
|
|
|
14년 전
|
조회 1,185
|
|
|
|
14년 전
|
조회 3,827
|
|
|
|
14년 전
|
조회 1,737
|
|
|
|
14년 전
|
조회 1,193
|
|
|
|
14년 전
|
조회 1,253
|
|
|
|
14년 전
|
조회 1,234
|
|
|
|
14년 전
|
조회 1,313
|
|
|
|
14년 전
|
조회 1,113
|
|
|
|
14년 전
|
조회 1,192
|
|
|
|
14년 전
|
조회 1,825
|
|
|
선택이란
|
14년 전
|
조회 3,687
|
|
|
|
14년 전
|
조회 2,116
|
|
|
|
14년 전
|
조회 1,183
|
|
|
|
14년 전
|
조회 1,163
|
|
|
|
14년 전
|
조회 1,283
|
|
|
|
14년 전
|
조회 1,152
|
|
|
|
14년 전
|
조회 1,257
|
|
|
|
14년 전
|
조회 1,386
|
|
|
|
14년 전
|
조회 1,125
|
|
|
|
14년 전
|
조회 3,607
|
|
|
|
14년 전
|
조회 3,507
|
|
|
|
14년 전
|
조회 1,327
|
|
|
|
14년 전
|
조회 1,830
|
|
|
|
14년 전
|
조회 1,451
|
|
|
|
14년 전
|
조회 1,284
|
|
|
|
14년 전
|
조회 3,804
|
|
|
|
14년 전
|
조회 2,796
|
|
|
|
14년 전
|
조회 2,397
|
|
|
|
14년 전
|
조회 2,307
|
|
|
|
14년 전
|
조회 1,091
|
|
|
|
14년 전
|
조회 1,858
|
|
|
|
14년 전
|
조회 1,081
|
|
|
|
14년 전
|
조회 1,043
|
|
|
|
14년 전
|
조회 1,103
|
|
|
|
14년 전
|
조회 1,520
|
|
|
|
14년 전
|
조회 1,543
|
|
|
|
14년 전
|
조회 2,175
|
|
|
|
14년 전
|
조회 1,341
|
|
|
|
14년 전
|
조회 1,561
|
|
|
|
14년 전
|
조회 1,732
|
|
|
|
14년 전
|
조회 1,718
|
|
|
|
14년 전
|
조회 1,103
|
|
|
|
14년 전
|
조회 2,286
|
|
|
|
14년 전
|
조회 1,443
|
|
|
|
14년 전
|
조회 1,762
|
|
|
|
14년 전
|
조회 1,523
|
|
|
|
14년 전
|
조회 1,844
|
|
|
|
14년 전
|
조회 1,966
|
|
|
|
14년 전
|
조회 1,380
|
|
|
|
14년 전
|
조회 1,611
|
|
|
|
14년 전
|
조회 1,869
|
|
|
|
14년 전
|
조회 1,975
|
|
|
|
14년 전
|
조회 1,307
|
|
|
|
14년 전
|
조회 1,513
|
|
|
|
14년 전
|
조회 2,162
|
|
|
|
14년 전
|
조회 3,292
|
|
|
|
14년 전
|
조회 2,527
|
|
|
|
14년 전
|
조회 2,601
|
|
|
|
14년 전
|
조회 2,027
|
|
|
|
14년 전
|
조회 1,807
|
|
|
|
14년 전
|
조회 1,718
|
|
|
|
14년 전
|
조회 1,477
|
|
|
|
14년 전
|
조회 975
|
|
|
|
14년 전
|
조회 1,899
|
|
|
|
14년 전
|
조회 4,965
|
|
|
|
14년 전
|
조회 1,872
|
|
|
|
14년 전
|
조회 1,641
|
|
|
|
14년 전
|
조회 1,144
|
|
|
|
14년 전
|
조회 1,378
|
|
|
선택이란
|
14년 전
|
조회 1,165
|
|
|
|
14년 전
|
조회 1,074
|
|
|
|
14년 전
|
조회 1,129
|
|
|
|
14년 전
|
조회 1,143
|
|
|
|
14년 전
|
조회 1,096
|
|
|
|
14년 전
|
조회 1,946
|
|
|
|
14년 전
|
조회 1,265
|
|
|
선택이란
|
14년 전
|
조회 1,125
|
|
|
|
14년 전
|
조회 1,063
|
|
|
|
14년 전
|
조회 1,136
|
댓글 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