|
|
|
14년 전
|
조회 1,102
|
|
|
|
14년 전
|
조회 1,195
|
|
|
|
14년 전
|
조회 1,064
|
|
|
|
14년 전
|
조회 5,181
|
|
|
|
14년 전
|
조회 1,060
|
|
|
|
14년 전
|
조회 5,456
|
|
|
|
14년 전
|
조회 1,767
|
|
|
|
14년 전
|
조회 1,590
|
|
|
|
14년 전
|
조회 1,035
|
|
|
|
14년 전
|
조회 1,224
|
|
|
선택이란
|
14년 전
|
조회 1,737
|
|
|
|
14년 전
|
조회 1,231
|
|
|
|
14년 전
|
조회 1,884
|
|
|
|
14년 전
|
조회 1,432
|
|
|
|
14년 전
|
조회 1,173
|
|
|
|
14년 전
|
조회 1,316
|
|
|
|
14년 전
|
조회 3,358
|
|
|
|
14년 전
|
조회 1,136
|
|
|
|
14년 전
|
조회 1,691
|
|
|
|
14년 전
|
조회 1,327
|
|
|
|
14년 전
|
조회 1,289
|
|
|
|
14년 전
|
조회 1,170
|
|
|
|
14년 전
|
조회 3,814
|
|
|
|
14년 전
|
조회 1,725
|
|
|
|
14년 전
|
조회 1,179
|
|
|
|
14년 전
|
조회 1,240
|
|
|
|
14년 전
|
조회 1,219
|
|
|
|
14년 전
|
조회 1,303
|
|
|
|
14년 전
|
조회 1,102
|
|
|
|
14년 전
|
조회 1,180
|
|
|
|
14년 전
|
조회 1,816
|
|
|
선택이란
|
14년 전
|
조회 3,673
|
|
|
|
14년 전
|
조회 2,107
|
|
|
|
14년 전
|
조회 1,168
|
|
|
|
14년 전
|
조회 1,154
|
|
|
|
14년 전
|
조회 1,273
|
|
|
|
14년 전
|
조회 1,141
|
|
|
|
14년 전
|
조회 1,239
|
|
|
|
14년 전
|
조회 1,375
|
|
|
|
14년 전
|
조회 1,116
|
|
|
|
14년 전
|
조회 3,597
|
|
|
|
14년 전
|
조회 3,501
|
|
|
|
14년 전
|
조회 1,317
|
|
|
|
14년 전
|
조회 1,817
|
|
|
|
14년 전
|
조회 1,440
|
|
|
|
14년 전
|
조회 1,279
|
|
|
|
14년 전
|
조회 3,790
|
|
|
|
14년 전
|
조회 2,782
|
|
|
|
14년 전
|
조회 2,390
|
|
|
|
14년 전
|
조회 2,288
|
|
|
|
14년 전
|
조회 1,077
|
|
|
|
14년 전
|
조회 1,847
|
|
|
|
14년 전
|
조회 1,066
|
|
|
|
14년 전
|
조회 1,031
|
|
|
|
14년 전
|
조회 1,092
|
|
|
|
14년 전
|
조회 1,511
|
|
|
|
14년 전
|
조회 1,533
|
|
|
|
14년 전
|
조회 2,161
|
|
|
|
14년 전
|
조회 1,329
|
|
|
|
14년 전
|
조회 1,547
|
|
|
|
14년 전
|
조회 1,723
|
|
|
|
14년 전
|
조회 1,709
|
|
|
|
14년 전
|
조회 1,090
|
|
|
|
14년 전
|
조회 2,272
|
|
|
|
14년 전
|
조회 1,431
|
|
|
|
14년 전
|
조회 1,750
|
|
|
|
14년 전
|
조회 1,509
|
|
|
|
14년 전
|
조회 1,835
|
|
|
|
14년 전
|
조회 1,950
|
|
|
|
14년 전
|
조회 1,372
|
|
|
|
14년 전
|
조회 1,603
|
|
|
|
14년 전
|
조회 1,857
|
|
|
|
14년 전
|
조회 1,961
|
|
|
|
14년 전
|
조회 1,289
|
|
|
|
14년 전
|
조회 1,499
|
|
|
|
14년 전
|
조회 2,152
|
|
|
|
14년 전
|
조회 3,274
|
|
|
|
14년 전
|
조회 2,512
|
|
|
|
14년 전
|
조회 2,585
|
|
|
|
14년 전
|
조회 2,016
|
|
|
|
14년 전
|
조회 1,797
|
|
|
|
14년 전
|
조회 1,709
|
|
|
|
14년 전
|
조회 1,460
|
|
|
|
14년 전
|
조회 960
|
|
|
|
14년 전
|
조회 1,883
|
|
|
|
14년 전
|
조회 4,948
|
|
|
|
14년 전
|
조회 1,864
|
|
|
|
14년 전
|
조회 1,630
|
|
|
|
14년 전
|
조회 1,131
|
|
|
|
14년 전
|
조회 1,369
|
|
|
선택이란
|
14년 전
|
조회 1,156
|
|
|
|
14년 전
|
조회 1,061
|
|
|
|
14년 전
|
조회 1,119
|
|
|
|
14년 전
|
조회 1,129
|
|
|
|
14년 전
|
조회 1,083
|
|
|
|
14년 전
|
조회 1,939
|
|
|
|
14년 전
|
조회 1,253
|
|
|
선택이란
|
14년 전
|
조회 1,115
|
|
|
|
14년 전
|
조회 1,050
|
|
|
|
14년 전
|
조회 1,124
|
댓글 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