|
|
|
14년 전
|
조회 1,486
|
|
|
|
14년 전
|
조회 1,549
|
|
|
|
14년 전
|
조회 1,471
|
|
|
|
14년 전
|
조회 5,542
|
|
|
|
14년 전
|
조회 1,447
|
|
|
|
14년 전
|
조회 5,834
|
|
|
|
14년 전
|
조회 2,144
|
|
|
|
14년 전
|
조회 1,939
|
|
|
|
14년 전
|
조회 1,402
|
|
|
|
14년 전
|
조회 1,586
|
|
|
선택이란
|
14년 전
|
조회 2,110
|
|
|
|
14년 전
|
조회 1,592
|
|
|
|
14년 전
|
조회 2,253
|
|
|
|
14년 전
|
조회 1,779
|
|
|
|
14년 전
|
조회 1,563
|
|
|
|
14년 전
|
조회 1,697
|
|
|
|
14년 전
|
조회 3,738
|
|
|
|
14년 전
|
조회 1,472
|
|
|
|
14년 전
|
조회 2,065
|
|
|
|
14년 전
|
조회 1,689
|
|
|
|
14년 전
|
조회 1,640
|
|
|
|
14년 전
|
조회 1,525
|
|
|
|
14년 전
|
조회 4,191
|
|
|
|
14년 전
|
조회 2,082
|
|
|
|
14년 전
|
조회 1,533
|
|
|
|
14년 전
|
조회 1,631
|
|
|
|
14년 전
|
조회 1,614
|
|
|
|
14년 전
|
조회 1,686
|
|
|
|
14년 전
|
조회 1,447
|
|
|
|
14년 전
|
조회 1,539
|
|
|
|
14년 전
|
조회 2,169
|
|
|
선택이란
|
14년 전
|
조회 4,058
|
|
|
|
14년 전
|
조회 2,471
|
|
|
|
14년 전
|
조회 1,554
|
|
|
|
14년 전
|
조회 1,529
|
|
|
|
14년 전
|
조회 1,642
|
|
|
|
14년 전
|
조회 1,521
|
|
|
|
14년 전
|
조회 1,629
|
|
|
|
14년 전
|
조회 1,750
|
|
|
|
14년 전
|
조회 1,444
|
|
|
|
14년 전
|
조회 3,934
|
|
|
|
14년 전
|
조회 3,832
|
|
|
|
14년 전
|
조회 1,655
|
|
|
|
14년 전
|
조회 2,147
|
|
|
|
14년 전
|
조회 1,781
|
|
|
|
14년 전
|
조회 1,605
|
|
|
|
14년 전
|
조회 4,100
|
|
|
|
14년 전
|
조회 3,096
|
|
|
|
14년 전
|
조회 2,685
|
|
|
|
14년 전
|
조회 2,610
|
|
|
|
14년 전
|
조회 1,389
|
|
|
|
14년 전
|
조회 2,153
|
|
|
|
14년 전
|
조회 1,401
|
|
|
|
14년 전
|
조회 1,417
|
|
|
|
14년 전
|
조회 1,464
|
|
|
|
14년 전
|
조회 1,887
|
|
|
|
14년 전
|
조회 1,886
|
|
|
|
14년 전
|
조회 2,537
|
|
|
|
14년 전
|
조회 1,690
|
|
|
|
14년 전
|
조회 1,939
|
|
|
|
14년 전
|
조회 2,125
|
|
|
|
14년 전
|
조회 2,104
|
|
|
|
14년 전
|
조회 1,490
|
|
|
|
14년 전
|
조회 2,643
|
|
|
|
14년 전
|
조회 1,822
|
|
|
|
14년 전
|
조회 2,121
|
|
|
|
14년 전
|
조회 1,898
|
|
|
|
14년 전
|
조회 2,246
|
|
|
|
14년 전
|
조회 2,355
|
|
|
|
14년 전
|
조회 1,777
|
|
|
|
14년 전
|
조회 1,995
|
|
|
|
14년 전
|
조회 2,243
|
|
|
|
14년 전
|
조회 2,368
|
|
|
|
14년 전
|
조회 1,712
|
|
|
|
14년 전
|
조회 1,865
|
|
|
|
14년 전
|
조회 2,561
|
|
|
|
14년 전
|
조회 3,650
|
|
|
|
14년 전
|
조회 2,908
|
|
|
|
14년 전
|
조회 2,972
|
|
|
|
14년 전
|
조회 2,429
|
|
|
|
14년 전
|
조회 2,218
|
|
|
|
14년 전
|
조회 2,103
|
|
|
|
14년 전
|
조회 1,863
|
|
|
|
14년 전
|
조회 1,382
|
|
|
|
14년 전
|
조회 2,278
|
|
|
|
14년 전
|
조회 5,378
|
|
|
|
14년 전
|
조회 2,253
|
|
|
|
14년 전
|
조회 2,036
|
|
|
|
14년 전
|
조회 1,522
|
|
|
|
14년 전
|
조회 1,766
|
|
|
선택이란
|
14년 전
|
조회 1,586
|
|
|
|
14년 전
|
조회 1,453
|
|
|
|
14년 전
|
조회 1,555
|
|
|
|
14년 전
|
조회 1,525
|
|
|
|
14년 전
|
조회 1,493
|
|
|
|
14년 전
|
조회 2,331
|
|
|
|
14년 전
|
조회 1,670
|
|
|
선택이란
|
14년 전
|
조회 1,547
|
|
|
|
14년 전
|
조회 1,468
|
|
|
|
14년 전
|
조회 1,552
|
댓글 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