|
|
|
14년 전
|
조회 1,211
|
|
|
|
14년 전
|
조회 1,315
|
|
|
|
14년 전
|
조회 1,187
|
|
|
|
14년 전
|
조회 5,293
|
|
|
|
14년 전
|
조회 1,184
|
|
|
|
14년 전
|
조회 5,571
|
|
|
|
14년 전
|
조회 1,894
|
|
|
|
14년 전
|
조회 1,703
|
|
|
|
14년 전
|
조회 1,144
|
|
|
|
14년 전
|
조회 1,338
|
|
|
선택이란
|
14년 전
|
조회 1,842
|
|
|
|
14년 전
|
조회 1,341
|
|
|
|
14년 전
|
조회 2,005
|
|
|
|
14년 전
|
조회 1,537
|
|
|
|
14년 전
|
조회 1,299
|
|
|
|
14년 전
|
조회 1,431
|
|
|
|
14년 전
|
조회 3,495
|
|
|
|
14년 전
|
조회 1,248
|
|
|
|
14년 전
|
조회 1,795
|
|
|
|
14년 전
|
조회 1,441
|
|
|
|
14년 전
|
조회 1,397
|
|
|
|
14년 전
|
조회 1,281
|
|
|
|
14년 전
|
조회 3,920
|
|
|
|
14년 전
|
조회 1,846
|
|
|
|
14년 전
|
조회 1,296
|
|
|
|
14년 전
|
조회 1,358
|
|
|
|
14년 전
|
조회 1,344
|
|
|
|
14년 전
|
조회 1,425
|
|
|
|
14년 전
|
조회 1,209
|
|
|
|
14년 전
|
조회 1,303
|
|
|
|
14년 전
|
조회 1,931
|
|
|
선택이란
|
14년 전
|
조회 3,792
|
|
|
|
14년 전
|
조회 2,239
|
|
|
|
14년 전
|
조회 1,280
|
|
|
|
14년 전
|
조회 1,264
|
|
|
|
14년 전
|
조회 1,385
|
|
|
|
14년 전
|
조회 1,256
|
|
|
|
14년 전
|
조회 1,375
|
|
|
|
14년 전
|
조회 1,480
|
|
|
|
14년 전
|
조회 1,199
|
|
|
|
14년 전
|
조회 3,690
|
|
|
|
14년 전
|
조회 3,589
|
|
|
|
14년 전
|
조회 1,409
|
|
|
|
14년 전
|
조회 1,893
|
|
|
|
14년 전
|
조회 1,526
|
|
|
|
14년 전
|
조회 1,363
|
|
|
|
14년 전
|
조회 3,867
|
|
|
|
14년 전
|
조회 2,859
|
|
|
|
14년 전
|
조회 2,462
|
|
|
|
14년 전
|
조회 2,380
|
|
|
|
14년 전
|
조회 1,168
|
|
|
|
14년 전
|
조회 1,937
|
|
|
|
14년 전
|
조회 1,152
|
|
|
|
14년 전
|
조회 1,156
|
|
|
|
14년 전
|
조회 1,204
|
|
|
|
14년 전
|
조회 1,621
|
|
|
|
14년 전
|
조회 1,653
|
|
|
|
14년 전
|
조회 2,284
|
|
|
|
14년 전
|
조회 1,442
|
|
|
|
14년 전
|
조회 1,676
|
|
|
|
14년 전
|
조회 1,840
|
|
|
|
14년 전
|
조회 1,828
|
|
|
|
14년 전
|
조회 1,221
|
|
|
|
14년 전
|
조회 2,388
|
|
|
|
14년 전
|
조회 1,551
|
|
|
|
14년 전
|
조회 1,867
|
|
|
|
14년 전
|
조회 1,621
|
|
|
|
14년 전
|
조회 1,960
|
|
|
|
14년 전
|
조회 2,069
|
|
|
|
14년 전
|
조회 1,485
|
|
|
|
14년 전
|
조회 1,730
|
|
|
|
14년 전
|
조회 1,971
|
|
|
|
14년 전
|
조회 2,080
|
|
|
|
14년 전
|
조회 1,426
|
|
|
|
14년 전
|
조회 1,615
|
|
|
|
14년 전
|
조회 2,271
|
|
|
|
14년 전
|
조회 3,407
|
|
|
|
14년 전
|
조회 2,647
|
|
|
|
14년 전
|
조회 2,699
|
|
|
|
14년 전
|
조회 2,135
|
|
|
|
14년 전
|
조회 1,917
|
|
|
|
14년 전
|
조회 1,834
|
|
|
|
14년 전
|
조회 1,596
|
|
|
|
14년 전
|
조회 1,074
|
|
|
|
14년 전
|
조회 2,017
|
|
|
|
14년 전
|
조회 5,088
|
|
|
|
14년 전
|
조회 1,996
|
|
|
|
14년 전
|
조회 1,770
|
|
|
|
14년 전
|
조회 1,264
|
|
|
|
14년 전
|
조회 1,487
|
|
|
선택이란
|
14년 전
|
조회 1,287
|
|
|
|
14년 전
|
조회 1,178
|
|
|
|
14년 전
|
조회 1,253
|
|
|
|
14년 전
|
조회 1,262
|
|
|
|
14년 전
|
조회 1,215
|
|
|
|
14년 전
|
조회 2,063
|
|
|
|
14년 전
|
조회 1,389
|
|
|
선택이란
|
14년 전
|
조회 1,248
|
|
|
|
14년 전
|
조회 1,182
|
|
|
|
14년 전
|
조회 1,240
|
댓글 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