|
|
|
14년 전
|
조회 1,482
|
|
|
|
14년 전
|
조회 1,543
|
|
|
|
14년 전
|
조회 1,466
|
|
|
|
14년 전
|
조회 5,540
|
|
|
|
14년 전
|
조회 1,441
|
|
|
|
14년 전
|
조회 5,828
|
|
|
|
14년 전
|
조회 2,140
|
|
|
|
14년 전
|
조회 1,934
|
|
|
|
14년 전
|
조회 1,397
|
|
|
|
14년 전
|
조회 1,581
|
|
|
선택이란
|
14년 전
|
조회 2,104
|
|
|
|
14년 전
|
조회 1,585
|
|
|
|
14년 전
|
조회 2,250
|
|
|
|
14년 전
|
조회 1,773
|
|
|
|
14년 전
|
조회 1,558
|
|
|
|
14년 전
|
조회 1,691
|
|
|
|
14년 전
|
조회 3,730
|
|
|
|
14년 전
|
조회 1,468
|
|
|
|
14년 전
|
조회 2,061
|
|
|
|
14년 전
|
조회 1,681
|
|
|
|
14년 전
|
조회 1,630
|
|
|
|
14년 전
|
조회 1,521
|
|
|
|
14년 전
|
조회 4,185
|
|
|
|
14년 전
|
조회 2,077
|
|
|
|
14년 전
|
조회 1,528
|
|
|
|
14년 전
|
조회 1,628
|
|
|
|
14년 전
|
조회 1,607
|
|
|
|
14년 전
|
조회 1,681
|
|
|
|
14년 전
|
조회 1,443
|
|
|
|
14년 전
|
조회 1,528
|
|
|
|
14년 전
|
조회 2,163
|
|
|
선택이란
|
14년 전
|
조회 4,050
|
|
|
|
14년 전
|
조회 2,464
|
|
|
|
14년 전
|
조회 1,548
|
|
|
|
14년 전
|
조회 1,523
|
|
|
|
14년 전
|
조회 1,635
|
|
|
|
14년 전
|
조회 1,517
|
|
|
|
14년 전
|
조회 1,623
|
|
|
|
14년 전
|
조회 1,742
|
|
|
|
14년 전
|
조회 1,437
|
|
|
|
14년 전
|
조회 3,929
|
|
|
|
14년 전
|
조회 3,823
|
|
|
|
14년 전
|
조회 1,647
|
|
|
|
14년 전
|
조회 2,141
|
|
|
|
14년 전
|
조회 1,772
|
|
|
|
14년 전
|
조회 1,599
|
|
|
|
14년 전
|
조회 4,094
|
|
|
|
14년 전
|
조회 3,092
|
|
|
|
14년 전
|
조회 2,679
|
|
|
|
14년 전
|
조회 2,604
|
|
|
|
14년 전
|
조회 1,385
|
|
|
|
14년 전
|
조회 2,149
|
|
|
|
14년 전
|
조회 1,394
|
|
|
|
14년 전
|
조회 1,416
|
|
|
|
14년 전
|
조회 1,457
|
|
|
|
14년 전
|
조회 1,885
|
|
|
|
14년 전
|
조회 1,881
|
|
|
|
14년 전
|
조회 2,531
|
|
|
|
14년 전
|
조회 1,684
|
|
|
|
14년 전
|
조회 1,935
|
|
|
|
14년 전
|
조회 2,123
|
|
|
|
14년 전
|
조회 2,098
|
|
|
|
14년 전
|
조회 1,486
|
|
|
|
14년 전
|
조회 2,637
|
|
|
|
14년 전
|
조회 1,816
|
|
|
|
14년 전
|
조회 2,117
|
|
|
|
14년 전
|
조회 1,890
|
|
|
|
14년 전
|
조회 2,243
|
|
|
|
14년 전
|
조회 2,351
|
|
|
|
14년 전
|
조회 1,768
|
|
|
|
14년 전
|
조회 1,994
|
|
|
|
14년 전
|
조회 2,239
|
|
|
|
14년 전
|
조회 2,362
|
|
|
|
14년 전
|
조회 1,705
|
|
|
|
14년 전
|
조회 1,860
|
|
|
|
14년 전
|
조회 2,557
|
|
|
|
14년 전
|
조회 3,648
|
|
|
|
14년 전
|
조회 2,899
|
|
|
|
14년 전
|
조회 2,967
|
|
|
|
14년 전
|
조회 2,425
|
|
|
|
14년 전
|
조회 2,214
|
|
|
|
14년 전
|
조회 2,099
|
|
|
|
14년 전
|
조회 1,855
|
|
|
|
14년 전
|
조회 1,370
|
|
|
|
14년 전
|
조회 2,275
|
|
|
|
14년 전
|
조회 5,370
|
|
|
|
14년 전
|
조회 2,248
|
|
|
|
14년 전
|
조회 2,031
|
|
|
|
14년 전
|
조회 1,514
|
|
|
|
14년 전
|
조회 1,763
|
|
|
선택이란
|
14년 전
|
조회 1,582
|
|
|
|
14년 전
|
조회 1,446
|
|
|
|
14년 전
|
조회 1,551
|
|
|
|
14년 전
|
조회 1,522
|
|
|
|
14년 전
|
조회 1,488
|
|
|
|
14년 전
|
조회 2,328
|
|
|
|
14년 전
|
조회 1,663
|
|
|
선택이란
|
14년 전
|
조회 1,541
|
|
|
|
14년 전
|
조회 1,462
|
|
|
|
14년 전
|
조회 1,545
|
댓글 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