|
|
|
14년 전
|
조회 1,117
|
|
|
|
14년 전
|
조회 1,207
|
|
|
|
14년 전
|
조회 1,079
|
|
|
|
14년 전
|
조회 5,193
|
|
|
|
14년 전
|
조회 1,073
|
|
|
|
14년 전
|
조회 5,474
|
|
|
|
14년 전
|
조회 1,788
|
|
|
|
14년 전
|
조회 1,601
|
|
|
|
14년 전
|
조회 1,046
|
|
|
|
14년 전
|
조회 1,238
|
|
|
선택이란
|
14년 전
|
조회 1,748
|
|
|
|
14년 전
|
조회 1,246
|
|
|
|
14년 전
|
조회 1,907
|
|
|
|
14년 전
|
조회 1,442
|
|
|
|
14년 전
|
조회 1,185
|
|
|
|
14년 전
|
조회 1,331
|
|
|
|
14년 전
|
조회 3,373
|
|
|
|
14년 전
|
조회 1,149
|
|
|
|
14년 전
|
조회 1,702
|
|
|
|
14년 전
|
조회 1,340
|
|
|
|
14년 전
|
조회 1,303
|
|
|
|
14년 전
|
조회 1,187
|
|
|
|
14년 전
|
조회 3,829
|
|
|
|
14년 전
|
조회 1,739
|
|
|
|
14년 전
|
조회 1,193
|
|
|
|
14년 전
|
조회 1,256
|
|
|
|
14년 전
|
조회 1,239
|
|
|
|
14년 전
|
조회 1,315
|
|
|
|
14년 전
|
조회 1,115
|
|
|
|
14년 전
|
조회 1,196
|
|
|
|
14년 전
|
조회 1,828
|
|
|
선택이란
|
14년 전
|
조회 3,692
|
|
|
|
14년 전
|
조회 2,118
|
|
|
|
14년 전
|
조회 1,183
|
|
|
|
14년 전
|
조회 1,164
|
|
|
|
14년 전
|
조회 1,286
|
|
|
|
14년 전
|
조회 1,154
|
|
|
|
14년 전
|
조회 1,258
|
|
|
|
14년 전
|
조회 1,388
|
|
|
|
14년 전
|
조회 1,127
|
|
|
|
14년 전
|
조회 3,609
|
|
|
|
14년 전
|
조회 3,511
|
|
|
|
14년 전
|
조회 1,331
|
|
|
|
14년 전
|
조회 1,830
|
|
|
|
14년 전
|
조회 1,453
|
|
|
|
14년 전
|
조회 1,288
|
|
|
|
14년 전
|
조회 3,807
|
|
|
|
14년 전
|
조회 2,799
|
|
|
|
14년 전
|
조회 2,398
|
|
|
|
14년 전
|
조회 2,311
|
|
|
|
14년 전
|
조회 1,092
|
|
|
|
14년 전
|
조회 1,863
|
|
|
|
14년 전
|
조회 1,084
|
|
|
|
14년 전
|
조회 1,048
|
|
|
|
14년 전
|
조회 1,104
|
|
|
|
14년 전
|
조회 1,524
|
|
|
|
14년 전
|
조회 1,547
|
|
|
|
14년 전
|
조회 2,176
|
|
|
|
14년 전
|
조회 1,348
|
|
|
|
14년 전
|
조회 1,563
|
|
|
|
14년 전
|
조회 1,735
|
|
|
|
14년 전
|
조회 1,718
|
|
|
|
14년 전
|
조회 1,104
|
|
|
|
14년 전
|
조회 2,287
|
|
|
|
14년 전
|
조회 1,444
|
|
|
|
14년 전
|
조회 1,763
|
|
|
|
14년 전
|
조회 1,529
|
|
|
|
14년 전
|
조회 1,846
|
|
|
|
14년 전
|
조회 1,968
|
|
|
|
14년 전
|
조회 1,385
|
|
|
|
14년 전
|
조회 1,612
|
|
|
|
14년 전
|
조회 1,871
|
|
|
|
14년 전
|
조회 1,981
|
|
|
|
14년 전
|
조회 1,307
|
|
|
|
14년 전
|
조회 1,514
|
|
|
|
14년 전
|
조회 2,166
|
|
|
|
14년 전
|
조회 3,293
|
|
|
|
14년 전
|
조회 2,532
|
|
|
|
14년 전
|
조회 2,602
|
|
|
|
14년 전
|
조회 2,030
|
|
|
|
14년 전
|
조회 1,809
|
|
|
|
14년 전
|
조회 1,720
|
|
|
|
14년 전
|
조회 1,481
|
|
|
|
14년 전
|
조회 980
|
|
|
|
14년 전
|
조회 1,900
|
|
|
|
14년 전
|
조회 4,966
|
|
|
|
14년 전
|
조회 1,880
|
|
|
|
14년 전
|
조회 1,643
|
|
|
|
14년 전
|
조회 1,144
|
|
|
|
14년 전
|
조회 1,379
|
|
|
선택이란
|
14년 전
|
조회 1,169
|
|
|
|
14년 전
|
조회 1,075
|
|
|
|
14년 전
|
조회 1,132
|
|
|
|
14년 전
|
조회 1,145
|
|
|
|
14년 전
|
조회 1,100
|
|
|
|
14년 전
|
조회 1,947
|
|
|
|
14년 전
|
조회 1,269
|
|
|
선택이란
|
14년 전
|
조회 1,126
|
|
|
|
14년 전
|
조회 1,065
|
|
|
|
14년 전
|
조회 1,139
|
댓글 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