|
|
|
14년 전
|
조회 1,471
|
|
|
|
14년 전
|
조회 1,535
|
|
|
|
14년 전
|
조회 1,453
|
|
|
|
14년 전
|
조회 5,525
|
|
|
|
14년 전
|
조회 1,430
|
|
|
|
14년 전
|
조회 5,822
|
|
|
|
14년 전
|
조회 2,128
|
|
|
|
14년 전
|
조회 1,922
|
|
|
|
14년 전
|
조회 1,388
|
|
|
|
14년 전
|
조회 1,570
|
|
|
선택이란
|
14년 전
|
조회 2,091
|
|
|
|
14년 전
|
조회 1,574
|
|
|
|
14년 전
|
조회 2,237
|
|
|
|
14년 전
|
조회 1,766
|
|
|
|
14년 전
|
조회 1,542
|
|
|
|
14년 전
|
조회 1,684
|
|
|
|
14년 전
|
조회 3,721
|
|
|
|
14년 전
|
조회 1,453
|
|
|
|
14년 전
|
조회 2,053
|
|
|
|
14년 전
|
조회 1,669
|
|
|
|
14년 전
|
조회 1,619
|
|
|
|
14년 전
|
조회 1,509
|
|
|
|
14년 전
|
조회 4,174
|
|
|
|
14년 전
|
조회 2,061
|
|
|
|
14년 전
|
조회 1,523
|
|
|
|
14년 전
|
조회 1,614
|
|
|
|
14년 전
|
조회 1,588
|
|
|
|
14년 전
|
조회 1,668
|
|
|
|
14년 전
|
조회 1,434
|
|
|
|
14년 전
|
조회 1,519
|
|
|
|
14년 전
|
조회 2,150
|
|
|
선택이란
|
14년 전
|
조회 4,038
|
|
|
|
14년 전
|
조회 2,445
|
|
|
|
14년 전
|
조회 1,534
|
|
|
|
14년 전
|
조회 1,512
|
|
|
|
14년 전
|
조회 1,622
|
|
|
|
14년 전
|
조회 1,503
|
|
|
|
14년 전
|
조회 1,613
|
|
|
|
14년 전
|
조회 1,726
|
|
|
|
14년 전
|
조회 1,419
|
|
|
|
14년 전
|
조회 3,917
|
|
|
|
14년 전
|
조회 3,802
|
|
|
|
14년 전
|
조회 1,629
|
|
|
|
14년 전
|
조회 2,129
|
|
|
|
14년 전
|
조회 1,754
|
|
|
|
14년 전
|
조회 1,590
|
|
|
|
14년 전
|
조회 4,084
|
|
|
|
14년 전
|
조회 3,081
|
|
|
|
14년 전
|
조회 2,666
|
|
|
|
14년 전
|
조회 2,590
|
|
|
|
14년 전
|
조회 1,370
|
|
|
|
14년 전
|
조회 2,131
|
|
|
|
14년 전
|
조회 1,377
|
|
|
|
14년 전
|
조회 1,406
|
|
|
|
14년 전
|
조회 1,438
|
|
|
|
14년 전
|
조회 1,866
|
|
|
|
14년 전
|
조회 1,860
|
|
|
|
14년 전
|
조회 2,518
|
|
|
|
14년 전
|
조회 1,669
|
|
|
|
14년 전
|
조회 1,917
|
|
|
|
14년 전
|
조회 2,106
|
|
|
|
14년 전
|
조회 2,083
|
|
|
|
14년 전
|
조회 1,473
|
|
|
|
14년 전
|
조회 2,623
|
|
|
|
14년 전
|
조회 1,798
|
|
|
|
14년 전
|
조회 2,105
|
|
|
|
14년 전
|
조회 1,877
|
|
|
|
14년 전
|
조회 2,222
|
|
|
|
14년 전
|
조회 2,333
|
|
|
|
14년 전
|
조회 1,754
|
|
|
|
14년 전
|
조회 1,978
|
|
|
|
14년 전
|
조회 2,229
|
|
|
|
14년 전
|
조회 2,351
|
|
|
|
14년 전
|
조회 1,688
|
|
|
|
14년 전
|
조회 1,849
|
|
|
|
14년 전
|
조회 2,544
|
|
|
|
14년 전
|
조회 3,639
|
|
|
|
14년 전
|
조회 2,891
|
|
|
|
14년 전
|
조회 2,952
|
|
|
|
14년 전
|
조회 2,405
|
|
|
|
14년 전
|
조회 2,199
|
|
|
|
14년 전
|
조회 2,083
|
|
|
|
14년 전
|
조회 1,844
|
|
|
|
14년 전
|
조회 1,354
|
|
|
|
14년 전
|
조회 2,257
|
|
|
|
14년 전
|
조회 5,354
|
|
|
|
14년 전
|
조회 2,237
|
|
|
|
14년 전
|
조회 2,014
|
|
|
|
14년 전
|
조회 1,508
|
|
|
|
14년 전
|
조회 1,753
|
|
|
선택이란
|
14년 전
|
조회 1,564
|
|
|
|
14년 전
|
조회 1,432
|
|
|
|
14년 전
|
조회 1,536
|
|
|
|
14년 전
|
조회 1,512
|
|
|
|
14년 전
|
조회 1,471
|
|
|
|
14년 전
|
조회 2,320
|
|
|
|
14년 전
|
조회 1,647
|
|
|
선택이란
|
14년 전
|
조회 1,526
|
|
|
|
14년 전
|
조회 1,451
|
|
|
|
14년 전
|
조회 1,525
|
댓글 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