|
|
|
14년 전
|
조회 1,192
|
|
|
|
14년 전
|
조회 1,293
|
|
|
|
14년 전
|
조회 1,168
|
|
|
|
14년 전
|
조회 5,272
|
|
|
|
14년 전
|
조회 1,167
|
|
|
|
14년 전
|
조회 5,559
|
|
|
|
14년 전
|
조회 1,882
|
|
|
|
14년 전
|
조회 1,688
|
|
|
|
14년 전
|
조회 1,129
|
|
|
|
14년 전
|
조회 1,317
|
|
|
선택이란
|
14년 전
|
조회 1,822
|
|
|
|
14년 전
|
조회 1,323
|
|
|
|
14년 전
|
조회 1,985
|
|
|
|
14년 전
|
조회 1,516
|
|
|
|
14년 전
|
조회 1,280
|
|
|
|
14년 전
|
조회 1,409
|
|
|
|
14년 전
|
조회 3,477
|
|
|
|
14년 전
|
조회 1,234
|
|
|
|
14년 전
|
조회 1,786
|
|
|
|
14년 전
|
조회 1,429
|
|
|
|
14년 전
|
조회 1,382
|
|
|
|
14년 전
|
조회 1,267
|
|
|
|
14년 전
|
조회 3,908
|
|
|
|
14년 전
|
조회 1,828
|
|
|
|
14년 전
|
조회 1,272
|
|
|
|
14년 전
|
조회 1,341
|
|
|
|
14년 전
|
조회 1,329
|
|
|
|
14년 전
|
조회 1,404
|
|
|
|
14년 전
|
조회 1,197
|
|
|
|
14년 전
|
조회 1,282
|
|
|
|
14년 전
|
조회 1,916
|
|
|
선택이란
|
14년 전
|
조회 3,773
|
|
|
|
14년 전
|
조회 2,219
|
|
|
|
14년 전
|
조회 1,261
|
|
|
|
14년 전
|
조회 1,246
|
|
|
|
14년 전
|
조회 1,373
|
|
|
|
14년 전
|
조회 1,242
|
|
|
|
14년 전
|
조회 1,358
|
|
|
|
14년 전
|
조회 1,463
|
|
|
|
14년 전
|
조회 1,188
|
|
|
|
14년 전
|
조회 3,676
|
|
|
|
14년 전
|
조회 3,575
|
|
|
|
14년 전
|
조회 1,399
|
|
|
|
14년 전
|
조회 1,885
|
|
|
|
14년 전
|
조회 1,510
|
|
|
|
14년 전
|
조회 1,355
|
|
|
|
14년 전
|
조회 3,855
|
|
|
|
14년 전
|
조회 2,849
|
|
|
|
14년 전
|
조회 2,456
|
|
|
|
14년 전
|
조회 2,370
|
|
|
|
14년 전
|
조회 1,156
|
|
|
|
14년 전
|
조회 1,930
|
|
|
|
14년 전
|
조회 1,137
|
|
|
|
14년 전
|
조회 1,137
|
|
|
|
14년 전
|
조회 1,185
|
|
|
|
14년 전
|
조회 1,603
|
|
|
|
14년 전
|
조회 1,626
|
|
|
|
14년 전
|
조회 2,261
|
|
|
|
14년 전
|
조회 1,426
|
|
|
|
14년 전
|
조회 1,659
|
|
|
|
14년 전
|
조회 1,823
|
|
|
|
14년 전
|
조회 1,809
|
|
|
|
14년 전
|
조회 1,200
|
|
|
|
14년 전
|
조회 2,367
|
|
|
|
14년 전
|
조회 1,524
|
|
|
|
14년 전
|
조회 1,852
|
|
|
|
14년 전
|
조회 1,608
|
|
|
|
14년 전
|
조회 1,936
|
|
|
|
14년 전
|
조회 2,055
|
|
|
|
14년 전
|
조회 1,469
|
|
|
|
14년 전
|
조회 1,710
|
|
|
|
14년 전
|
조회 1,957
|
|
|
|
14년 전
|
조회 2,057
|
|
|
|
14년 전
|
조회 1,402
|
|
|
|
14년 전
|
조회 1,599
|
|
|
|
14년 전
|
조회 2,254
|
|
|
|
14년 전
|
조회 3,395
|
|
|
|
14년 전
|
조회 2,626
|
|
|
|
14년 전
|
조회 2,684
|
|
|
|
14년 전
|
조회 2,117
|
|
|
|
14년 전
|
조회 1,906
|
|
|
|
14년 전
|
조회 1,820
|
|
|
|
14년 전
|
조회 1,573
|
|
|
|
14년 전
|
조회 1,048
|
|
|
|
14년 전
|
조회 1,997
|
|
|
|
14년 전
|
조회 5,070
|
|
|
|
14년 전
|
조회 1,978
|
|
|
|
14년 전
|
조회 1,741
|
|
|
|
14년 전
|
조회 1,250
|
|
|
|
14년 전
|
조회 1,477
|
|
|
선택이란
|
14년 전
|
조회 1,268
|
|
|
|
14년 전
|
조회 1,162
|
|
|
|
14년 전
|
조회 1,229
|
|
|
|
14년 전
|
조회 1,242
|
|
|
|
14년 전
|
조회 1,193
|
|
|
|
14년 전
|
조회 2,041
|
|
|
|
14년 전
|
조회 1,373
|
|
|
선택이란
|
14년 전
|
조회 1,224
|
|
|
|
14년 전
|
조회 1,160
|
|
|
|
14년 전
|
조회 1,227
|
댓글 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