|
|
|
14년 전
|
조회 1,527
|
|
|
|
14년 전
|
조회 1,594
|
|
|
|
14년 전
|
조회 1,527
|
|
|
|
14년 전
|
조회 5,593
|
|
|
|
14년 전
|
조회 1,479
|
|
|
|
14년 전
|
조회 5,881
|
|
|
|
14년 전
|
조회 2,192
|
|
|
|
14년 전
|
조회 1,984
|
|
|
|
14년 전
|
조회 1,446
|
|
|
|
14년 전
|
조회 1,626
|
|
|
선택이란
|
14년 전
|
조회 2,158
|
|
|
|
14년 전
|
조회 1,636
|
|
|
|
14년 전
|
조회 2,295
|
|
|
|
14년 전
|
조회 1,819
|
|
|
|
14년 전
|
조회 1,605
|
|
|
|
14년 전
|
조회 1,740
|
|
|
|
14년 전
|
조회 3,789
|
|
|
|
14년 전
|
조회 1,530
|
|
|
|
14년 전
|
조회 2,119
|
|
|
|
14년 전
|
조회 1,740
|
|
|
|
14년 전
|
조회 1,691
|
|
|
|
14년 전
|
조회 1,569
|
|
|
|
14년 전
|
조회 4,233
|
|
|
|
14년 전
|
조회 2,126
|
|
|
|
14년 전
|
조회 1,584
|
|
|
|
14년 전
|
조회 1,672
|
|
|
|
14년 전
|
조회 1,662
|
|
|
|
14년 전
|
조회 1,731
|
|
|
|
14년 전
|
조회 1,504
|
|
|
|
14년 전
|
조회 1,601
|
|
|
|
14년 전
|
조회 2,229
|
|
|
선택이란
|
14년 전
|
조회 4,106
|
|
|
|
14년 전
|
조회 2,528
|
|
|
|
14년 전
|
조회 1,601
|
|
|
|
14년 전
|
조회 1,574
|
|
|
|
14년 전
|
조회 1,691
|
|
|
|
14년 전
|
조회 1,579
|
|
|
|
14년 전
|
조회 1,683
|
|
|
|
14년 전
|
조회 1,797
|
|
|
|
14년 전
|
조회 1,487
|
|
|
|
14년 전
|
조회 3,980
|
|
|
|
14년 전
|
조회 3,884
|
|
|
|
14년 전
|
조회 1,698
|
|
|
|
14년 전
|
조회 2,198
|
|
|
|
14년 전
|
조회 1,823
|
|
|
|
14년 전
|
조회 1,646
|
|
|
|
14년 전
|
조회 4,159
|
|
|
|
14년 전
|
조회 3,149
|
|
|
|
14년 전
|
조회 2,733
|
|
|
|
14년 전
|
조회 2,677
|
|
|
|
14년 전
|
조회 1,431
|
|
|
|
14년 전
|
조회 2,209
|
|
|
|
14년 전
|
조회 1,448
|
|
|
|
14년 전
|
조회 1,476
|
|
|
|
14년 전
|
조회 1,507
|
|
|
|
14년 전
|
조회 1,950
|
|
|
|
14년 전
|
조회 1,945
|
|
|
|
14년 전
|
조회 2,581
|
|
|
|
14년 전
|
조회 1,734
|
|
|
|
14년 전
|
조회 1,992
|
|
|
|
14년 전
|
조회 2,172
|
|
|
|
14년 전
|
조회 2,167
|
|
|
|
14년 전
|
조회 1,532
|
|
|
|
14년 전
|
조회 2,694
|
|
|
|
14년 전
|
조회 1,888
|
|
|
|
14년 전
|
조회 2,157
|
|
|
|
14년 전
|
조회 1,957
|
|
|
|
14년 전
|
조회 2,287
|
|
|
|
14년 전
|
조회 2,395
|
|
|
|
14년 전
|
조회 1,827
|
|
|
|
14년 전
|
조회 2,047
|
|
|
|
14년 전
|
조회 2,286
|
|
|
|
14년 전
|
조회 2,403
|
|
|
|
14년 전
|
조회 1,765
|
|
|
|
14년 전
|
조회 1,920
|
|
|
|
14년 전
|
조회 2,605
|
|
|
|
14년 전
|
조회 3,701
|
|
|
|
14년 전
|
조회 2,954
|
|
|
|
14년 전
|
조회 3,028
|
|
|
|
14년 전
|
조회 2,479
|
|
|
|
14년 전
|
조회 2,259
|
|
|
|
14년 전
|
조회 2,152
|
|
|
|
14년 전
|
조회 1,914
|
|
|
|
14년 전
|
조회 1,415
|
|
|
|
14년 전
|
조회 2,326
|
|
|
|
14년 전
|
조회 5,430
|
|
|
|
14년 전
|
조회 2,306
|
|
|
|
14년 전
|
조회 2,076
|
|
|
|
14년 전
|
조회 1,573
|
|
|
|
14년 전
|
조회 1,805
|
|
|
선택이란
|
14년 전
|
조회 1,637
|
|
|
|
14년 전
|
조회 1,491
|
|
|
|
14년 전
|
조회 1,600
|
|
|
|
14년 전
|
조회 1,571
|
|
|
|
14년 전
|
조회 1,532
|
|
|
|
14년 전
|
조회 2,383
|
|
|
|
14년 전
|
조회 1,715
|
|
|
선택이란
|
14년 전
|
조회 1,583
|
|
|
|
14년 전
|
조회 1,512
|
|
|
|
14년 전
|
조회 1,595
|
댓글 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