|
|
|
14년 전
|
조회 1,329
|
|
|
|
14년 전
|
조회 1,419
|
|
|
|
14년 전
|
조회 1,303
|
|
|
|
14년 전
|
조회 5,406
|
|
|
|
14년 전
|
조회 1,305
|
|
|
|
14년 전
|
조회 5,683
|
|
|
|
14년 전
|
조회 2,004
|
|
|
|
14년 전
|
조회 1,809
|
|
|
|
14년 전
|
조회 1,254
|
|
|
|
14년 전
|
조회 1,454
|
|
|
선택이란
|
14년 전
|
조회 1,961
|
|
|
|
14년 전
|
조회 1,447
|
|
|
|
14년 전
|
조회 2,102
|
|
|
|
14년 전
|
조회 1,651
|
|
|
|
14년 전
|
조회 1,421
|
|
|
|
14년 전
|
조회 1,530
|
|
|
|
14년 전
|
조회 3,593
|
|
|
|
14년 전
|
조회 1,346
|
|
|
|
14년 전
|
조회 1,915
|
|
|
|
14년 전
|
조회 1,545
|
|
|
|
14년 전
|
조회 1,504
|
|
|
|
14년 전
|
조회 1,384
|
|
|
|
14년 전
|
조회 4,029
|
|
|
|
14년 전
|
조회 1,942
|
|
|
|
14년 전
|
조회 1,407
|
|
|
|
14년 전
|
조회 1,468
|
|
|
|
14년 전
|
조회 1,453
|
|
|
|
14년 전
|
조회 1,544
|
|
|
|
14년 전
|
조회 1,308
|
|
|
|
14년 전
|
조회 1,401
|
|
|
|
14년 전
|
조회 2,020
|
|
|
선택이란
|
14년 전
|
조회 3,906
|
|
|
|
14년 전
|
조회 2,340
|
|
|
|
14년 전
|
조회 1,396
|
|
|
|
14년 전
|
조회 1,386
|
|
|
|
14년 전
|
조회 1,489
|
|
|
|
14년 전
|
조회 1,385
|
|
|
|
14년 전
|
조회 1,492
|
|
|
|
14년 전
|
조회 1,591
|
|
|
|
14년 전
|
조회 1,286
|
|
|
|
14년 전
|
조회 3,786
|
|
|
|
14년 전
|
조회 3,670
|
|
|
|
14년 전
|
조회 1,513
|
|
|
|
14년 전
|
조회 1,996
|
|
|
|
14년 전
|
조회 1,623
|
|
|
|
14년 전
|
조회 1,464
|
|
|
|
14년 전
|
조회 3,961
|
|
|
|
14년 전
|
조회 2,954
|
|
|
|
14년 전
|
조회 2,540
|
|
|
|
14년 전
|
조회 2,465
|
|
|
|
14년 전
|
조회 1,245
|
|
|
|
14년 전
|
조회 2,004
|
|
|
|
14년 전
|
조회 1,248
|
|
|
|
14년 전
|
조회 1,271
|
|
|
|
14년 전
|
조회 1,313
|
|
|
|
14년 전
|
조회 1,741
|
|
|
|
14년 전
|
조회 1,741
|
|
|
|
14년 전
|
조회 2,390
|
|
|
|
14년 전
|
조회 1,549
|
|
|
|
14년 전
|
조회 1,777
|
|
|
|
14년 전
|
조회 1,957
|
|
|
|
14년 전
|
조회 1,948
|
|
|
|
14년 전
|
조회 1,316
|
|
|
|
14년 전
|
조회 2,502
|
|
|
|
14년 전
|
조회 1,674
|
|
|
|
14년 전
|
조회 1,965
|
|
|
|
14년 전
|
조회 1,736
|
|
|
|
14년 전
|
조회 2,085
|
|
|
|
14년 전
|
조회 2,189
|
|
|
|
14년 전
|
조회 1,612
|
|
|
|
14년 전
|
조회 1,840
|
|
|
|
14년 전
|
조회 2,102
|
|
|
|
14년 전
|
조회 2,205
|
|
|
|
14년 전
|
조회 1,551
|
|
|
|
14년 전
|
조회 1,729
|
|
|
|
14년 전
|
조회 2,391
|
|
|
|
14년 전
|
조회 3,504
|
|
|
|
14년 전
|
조회 2,729
|
|
|
|
14년 전
|
조회 2,813
|
|
|
|
14년 전
|
조회 2,249
|
|
|
|
14년 전
|
조회 2,047
|
|
|
|
14년 전
|
조회 1,939
|
|
|
|
14년 전
|
조회 1,714
|
|
|
|
14년 전
|
조회 1,192
|
|
|
|
14년 전
|
조회 2,140
|
|
|
|
14년 전
|
조회 5,221
|
|
|
|
14년 전
|
조회 2,117
|
|
|
|
14년 전
|
조회 1,887
|
|
|
|
14년 전
|
조회 1,375
|
|
|
|
14년 전
|
조회 1,617
|
|
|
선택이란
|
14년 전
|
조회 1,411
|
|
|
|
14년 전
|
조회 1,298
|
|
|
|
14년 전
|
조회 1,376
|
|
|
|
14년 전
|
조회 1,375
|
|
|
|
14년 전
|
조회 1,339
|
|
|
|
14년 전
|
조회 2,185
|
|
|
|
14년 전
|
조회 1,509
|
|
|
선택이란
|
14년 전
|
조회 1,374
|
|
|
|
14년 전
|
조회 1,304
|
|
|
|
14년 전
|
조회 1,349
|
댓글 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