|
|
|
14년 전
|
조회 1,485
|
|
|
|
14년 전
|
조회 1,548
|
|
|
|
14년 전
|
조회 1,471
|
|
|
|
14년 전
|
조회 5,542
|
|
|
|
14년 전
|
조회 1,447
|
|
|
|
14년 전
|
조회 5,834
|
|
|
|
14년 전
|
조회 2,143
|
|
|
|
14년 전
|
조회 1,937
|
|
|
|
14년 전
|
조회 1,402
|
|
|
|
14년 전
|
조회 1,585
|
|
|
선택이란
|
14년 전
|
조회 2,110
|
|
|
|
14년 전
|
조회 1,591
|
|
|
|
14년 전
|
조회 2,253
|
|
|
|
14년 전
|
조회 1,778
|
|
|
|
14년 전
|
조회 1,562
|
|
|
|
14년 전
|
조회 1,696
|
|
|
|
14년 전
|
조회 3,736
|
|
|
|
14년 전
|
조회 1,470
|
|
|
|
14년 전
|
조회 2,064
|
|
|
|
14년 전
|
조회 1,688
|
|
|
|
14년 전
|
조회 1,638
|
|
|
|
14년 전
|
조회 1,523
|
|
|
|
14년 전
|
조회 4,189
|
|
|
|
14년 전
|
조회 2,081
|
|
|
|
14년 전
|
조회 1,532
|
|
|
|
14년 전
|
조회 1,631
|
|
|
|
14년 전
|
조회 1,613
|
|
|
|
14년 전
|
조회 1,685
|
|
|
|
14년 전
|
조회 1,447
|
|
|
|
14년 전
|
조회 1,538
|
|
|
|
14년 전
|
조회 2,167
|
|
|
선택이란
|
14년 전
|
조회 4,057
|
|
|
|
14년 전
|
조회 2,468
|
|
|
|
14년 전
|
조회 1,552
|
|
|
|
14년 전
|
조회 1,529
|
|
|
|
14년 전
|
조회 1,640
|
|
|
|
14년 전
|
조회 1,519
|
|
|
|
14년 전
|
조회 1,627
|
|
|
|
14년 전
|
조회 1,748
|
|
|
|
14년 전
|
조회 1,441
|
|
|
|
14년 전
|
조회 3,934
|
|
|
|
14년 전
|
조회 3,830
|
|
|
|
14년 전
|
조회 1,653
|
|
|
|
14년 전
|
조회 2,146
|
|
|
|
14년 전
|
조회 1,776
|
|
|
|
14년 전
|
조회 1,605
|
|
|
|
14년 전
|
조회 4,100
|
|
|
|
14년 전
|
조회 3,095
|
|
|
|
14년 전
|
조회 2,684
|
|
|
|
14년 전
|
조회 2,609
|
|
|
|
14년 전
|
조회 1,387
|
|
|
|
14년 전
|
조회 2,152
|
|
|
|
14년 전
|
조회 1,398
|
|
|
|
14년 전
|
조회 1,417
|
|
|
|
14년 전
|
조회 1,463
|
|
|
|
14년 전
|
조회 1,887
|
|
|
|
14년 전
|
조회 1,885
|
|
|
|
14년 전
|
조회 2,534
|
|
|
|
14년 전
|
조회 1,686
|
|
|
|
14년 전
|
조회 1,938
|
|
|
|
14년 전
|
조회 2,123
|
|
|
|
14년 전
|
조회 2,103
|
|
|
|
14년 전
|
조회 1,489
|
|
|
|
14년 전
|
조회 2,640
|
|
|
|
14년 전
|
조회 1,821
|
|
|
|
14년 전
|
조회 2,120
|
|
|
|
14년 전
|
조회 1,894
|
|
|
|
14년 전
|
조회 2,245
|
|
|
|
14년 전
|
조회 2,354
|
|
|
|
14년 전
|
조회 1,777
|
|
|
|
14년 전
|
조회 1,995
|
|
|
|
14년 전
|
조회 2,240
|
|
|
|
14년 전
|
조회 2,367
|
|
|
|
14년 전
|
조회 1,710
|
|
|
|
14년 전
|
조회 1,863
|
|
|
|
14년 전
|
조회 2,558
|
|
|
|
14년 전
|
조회 3,650
|
|
|
|
14년 전
|
조회 2,905
|
|
|
|
14년 전
|
조회 2,970
|
|
|
|
14년 전
|
조회 2,427
|
|
|
|
14년 전
|
조회 2,216
|
|
|
|
14년 전
|
조회 2,103
|
|
|
|
14년 전
|
조회 1,861
|
|
|
|
14년 전
|
조회 1,380
|
|
|
|
14년 전
|
조회 2,277
|
|
|
|
14년 전
|
조회 5,375
|
|
|
|
14년 전
|
조회 2,253
|
|
|
|
14년 전
|
조회 2,034
|
|
|
|
14년 전
|
조회 1,521
|
|
|
|
14년 전
|
조회 1,765
|
|
|
선택이란
|
14년 전
|
조회 1,585
|
|
|
|
14년 전
|
조회 1,452
|
|
|
|
14년 전
|
조회 1,555
|
|
|
|
14년 전
|
조회 1,525
|
|
|
|
14년 전
|
조회 1,493
|
|
|
|
14년 전
|
조회 2,331
|
|
|
|
14년 전
|
조회 1,669
|
|
|
선택이란
|
14년 전
|
조회 1,545
|
|
|
|
14년 전
|
조회 1,466
|
|
|
|
14년 전
|
조회 1,550
|
댓글 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