|
|
|
14년 전
|
조회 1,579
|
|
|
|
14년 전
|
조회 1,662
|
|
|
|
14년 전
|
조회 1,585
|
|
|
|
14년 전
|
조회 5,654
|
|
|
|
14년 전
|
조회 1,533
|
|
|
|
14년 전
|
조회 5,935
|
|
|
|
14년 전
|
조회 2,253
|
|
|
|
14년 전
|
조회 2,046
|
|
|
|
14년 전
|
조회 1,498
|
|
|
|
14년 전
|
조회 1,688
|
|
|
선택이란
|
14년 전
|
조회 2,223
|
|
|
|
14년 전
|
조회 1,697
|
|
|
|
14년 전
|
조회 2,353
|
|
|
|
14년 전
|
조회 1,873
|
|
|
|
14년 전
|
조회 1,644
|
|
|
|
14년 전
|
조회 1,794
|
|
|
|
14년 전
|
조회 3,839
|
|
|
|
14년 전
|
조회 1,588
|
|
|
|
14년 전
|
조회 2,189
|
|
|
|
14년 전
|
조회 1,792
|
|
|
|
14년 전
|
조회 1,751
|
|
|
|
14년 전
|
조회 1,609
|
|
|
|
14년 전
|
조회 4,287
|
|
|
|
14년 전
|
조회 2,202
|
|
|
|
14년 전
|
조회 1,644
|
|
|
|
14년 전
|
조회 1,732
|
|
|
|
14년 전
|
조회 1,726
|
|
|
|
14년 전
|
조회 1,794
|
|
|
|
14년 전
|
조회 1,557
|
|
|
|
14년 전
|
조회 1,655
|
|
|
|
14년 전
|
조회 2,292
|
|
|
선택이란
|
14년 전
|
조회 4,165
|
|
|
|
14년 전
|
조회 2,593
|
|
|
|
14년 전
|
조회 1,661
|
|
|
|
14년 전
|
조회 1,639
|
|
|
|
14년 전
|
조회 1,754
|
|
|
|
14년 전
|
조회 1,655
|
|
|
|
14년 전
|
조회 1,747
|
|
|
|
14년 전
|
조회 1,870
|
|
|
|
14년 전
|
조회 1,557
|
|
|
|
14년 전
|
조회 4,042
|
|
|
|
14년 전
|
조회 3,950
|
|
|
|
14년 전
|
조회 1,762
|
|
|
|
14년 전
|
조회 2,268
|
|
|
|
14년 전
|
조회 1,879
|
|
|
|
14년 전
|
조회 1,706
|
|
|
|
14년 전
|
조회 4,217
|
|
|
|
14년 전
|
조회 3,204
|
|
|
|
14년 전
|
조회 2,796
|
|
|
|
14년 전
|
조회 2,730
|
|
|
|
14년 전
|
조회 1,491
|
|
|
|
14년 전
|
조회 2,267
|
|
|
|
14년 전
|
조회 1,499
|
|
|
|
14년 전
|
조회 1,532
|
|
|
|
14년 전
|
조회 1,570
|
|
|
|
14년 전
|
조회 1,995
|
|
|
|
14년 전
|
조회 2,009
|
|
|
|
14년 전
|
조회 2,655
|
|
|
|
14년 전
|
조회 1,806
|
|
|
|
14년 전
|
조회 2,051
|
|
|
|
14년 전
|
조회 2,234
|
|
|
|
14년 전
|
조회 2,222
|
|
|
|
14년 전
|
조회 1,596
|
|
|
|
14년 전
|
조회 2,765
|
|
|
|
14년 전
|
조회 1,946
|
|
|
|
14년 전
|
조회 2,220
|
|
|
|
14년 전
|
조회 2,018
|
|
|
|
14년 전
|
조회 2,354
|
|
|
|
14년 전
|
조회 2,462
|
|
|
|
14년 전
|
조회 1,883
|
|
|
|
14년 전
|
조회 2,103
|
|
|
|
14년 전
|
조회 2,359
|
|
|
|
14년 전
|
조회 2,468
|
|
|
|
14년 전
|
조회 1,820
|
|
|
|
14년 전
|
조회 1,975
|
|
|
|
14년 전
|
조회 2,675
|
|
|
|
14년 전
|
조회 3,787
|
|
|
|
14년 전
|
조회 3,030
|
|
|
|
14년 전
|
조회 3,093
|
|
|
|
14년 전
|
조회 2,528
|
|
|
|
14년 전
|
조회 2,318
|
|
|
|
14년 전
|
조회 2,218
|
|
|
|
14년 전
|
조회 1,972
|
|
|
|
14년 전
|
조회 1,474
|
|
|
|
14년 전
|
조회 2,385
|
|
|
|
14년 전
|
조회 5,505
|
|
|
|
14년 전
|
조회 2,377
|
|
|
|
14년 전
|
조회 2,142
|
|
|
|
14년 전
|
조회 1,638
|
|
|
|
14년 전
|
조회 1,868
|
|
|
선택이란
|
14년 전
|
조회 1,698
|
|
|
|
14년 전
|
조회 1,553
|
|
|
|
14년 전
|
조회 1,659
|
|
|
|
14년 전
|
조회 1,631
|
|
|
|
14년 전
|
조회 1,583
|
|
|
|
14년 전
|
조회 2,444
|
|
|
|
14년 전
|
조회 1,775
|
|
|
선택이란
|
14년 전
|
조회 1,662
|
|
|
|
14년 전
|
조회 1,568
|
|
|
|
14년 전
|
조회 1,642
|
댓글 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