|
|
|
14년 전
|
조회 1,509
|
|
|
|
14년 전
|
조회 1,582
|
|
|
|
14년 전
|
조회 1,506
|
|
|
|
14년 전
|
조회 5,577
|
|
|
|
14년 전
|
조회 1,468
|
|
|
|
14년 전
|
조회 5,867
|
|
|
|
14년 전
|
조회 2,176
|
|
|
|
14년 전
|
조회 1,963
|
|
|
|
14년 전
|
조회 1,433
|
|
|
|
14년 전
|
조회 1,617
|
|
|
선택이란
|
14년 전
|
조회 2,139
|
|
|
|
14년 전
|
조회 1,619
|
|
|
|
14년 전
|
조회 2,283
|
|
|
|
14년 전
|
조회 1,810
|
|
|
|
14년 전
|
조회 1,594
|
|
|
|
14년 전
|
조회 1,729
|
|
|
|
14년 전
|
조회 3,777
|
|
|
|
14년 전
|
조회 1,506
|
|
|
|
14년 전
|
조회 2,098
|
|
|
|
14년 전
|
조회 1,724
|
|
|
|
14년 전
|
조회 1,673
|
|
|
|
14년 전
|
조회 1,554
|
|
|
|
14년 전
|
조회 4,219
|
|
|
|
14년 전
|
조회 2,116
|
|
|
|
14년 전
|
조회 1,565
|
|
|
|
14년 전
|
조회 1,658
|
|
|
|
14년 전
|
조회 1,642
|
|
|
|
14년 전
|
조회 1,717
|
|
|
|
14년 전
|
조회 1,481
|
|
|
|
14년 전
|
조회 1,584
|
|
|
|
14년 전
|
조회 2,209
|
|
|
선택이란
|
14년 전
|
조회 4,087
|
|
|
|
14년 전
|
조회 2,512
|
|
|
|
14년 전
|
조회 1,583
|
|
|
|
14년 전
|
조회 1,561
|
|
|
|
14년 전
|
조회 1,673
|
|
|
|
14년 전
|
조회 1,555
|
|
|
|
14년 전
|
조회 1,661
|
|
|
|
14년 전
|
조회 1,781
|
|
|
|
14년 전
|
조회 1,469
|
|
|
|
14년 전
|
조회 3,962
|
|
|
|
14년 전
|
조회 3,866
|
|
|
|
14년 전
|
조회 1,685
|
|
|
|
14년 전
|
조회 2,181
|
|
|
|
14년 전
|
조회 1,808
|
|
|
|
14년 전
|
조회 1,633
|
|
|
|
14년 전
|
조회 4,137
|
|
|
|
14년 전
|
조회 3,135
|
|
|
|
14년 전
|
조회 2,719
|
|
|
|
14년 전
|
조회 2,655
|
|
|
|
14년 전
|
조회 1,420
|
|
|
|
14년 전
|
조회 2,190
|
|
|
|
14년 전
|
조회 1,431
|
|
|
|
14년 전
|
조회 1,456
|
|
|
|
14년 전
|
조회 1,496
|
|
|
|
14년 전
|
조회 1,929
|
|
|
|
14년 전
|
조회 1,930
|
|
|
|
14년 전
|
조회 2,567
|
|
|
|
14년 전
|
조회 1,720
|
|
|
|
14년 전
|
조회 1,972
|
|
|
|
14년 전
|
조회 2,160
|
|
|
|
14년 전
|
조회 2,148
|
|
|
|
14년 전
|
조회 1,519
|
|
|
|
14년 전
|
조회 2,679
|
|
|
|
14년 전
|
조회 1,871
|
|
|
|
14년 전
|
조회 2,145
|
|
|
|
14년 전
|
조회 1,938
|
|
|
|
14년 전
|
조회 2,277
|
|
|
|
14년 전
|
조회 2,376
|
|
|
|
14년 전
|
조회 1,809
|
|
|
|
14년 전
|
조회 2,029
|
|
|
|
14년 전
|
조회 2,265
|
|
|
|
14년 전
|
조회 2,396
|
|
|
|
14년 전
|
조회 1,749
|
|
|
|
14년 전
|
조회 1,903
|
|
|
|
14년 전
|
조회 2,589
|
|
|
|
14년 전
|
조회 3,685
|
|
|
|
14년 전
|
조회 2,937
|
|
|
|
14년 전
|
조회 3,007
|
|
|
|
14년 전
|
조회 2,461
|
|
|
|
14년 전
|
조회 2,245
|
|
|
|
14년 전
|
조회 2,137
|
|
|
|
14년 전
|
조회 1,898
|
|
|
|
14년 전
|
조회 1,400
|
|
|
|
14년 전
|
조회 2,306
|
|
|
|
14년 전
|
조회 5,416
|
|
|
|
14년 전
|
조회 2,285
|
|
|
|
14년 전
|
조회 2,058
|
|
|
|
14년 전
|
조회 1,554
|
|
|
|
14년 전
|
조회 1,790
|
|
|
선택이란
|
14년 전
|
조회 1,621
|
|
|
|
14년 전
|
조회 1,476
|
|
|
|
14년 전
|
조회 1,586
|
|
|
|
14년 전
|
조회 1,555
|
|
|
|
14년 전
|
조회 1,516
|
|
|
|
14년 전
|
조회 2,362
|
|
|
|
14년 전
|
조회 1,696
|
|
|
선택이란
|
14년 전
|
조회 1,570
|
|
|
|
14년 전
|
조회 1,492
|
|
|
|
14년 전
|
조회 1,572
|
댓글 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