|
|
|
14년 전
|
조회 1,111
|
|
|
|
14년 전
|
조회 1,199
|
|
|
|
14년 전
|
조회 1,074
|
|
|
|
14년 전
|
조회 5,187
|
|
|
|
14년 전
|
조회 1,066
|
|
|
|
14년 전
|
조회 5,465
|
|
|
|
14년 전
|
조회 1,780
|
|
|
|
14년 전
|
조회 1,596
|
|
|
|
14년 전
|
조회 1,039
|
|
|
|
14년 전
|
조회 1,232
|
|
|
선택이란
|
14년 전
|
조회 1,742
|
|
|
|
14년 전
|
조회 1,242
|
|
|
|
14년 전
|
조회 1,897
|
|
|
|
14년 전
|
조회 1,439
|
|
|
|
14년 전
|
조회 1,178
|
|
|
|
14년 전
|
조회 1,326
|
|
|
|
14년 전
|
조회 3,364
|
|
|
|
14년 전
|
조회 1,143
|
|
|
|
14년 전
|
조회 1,696
|
|
|
|
14년 전
|
조회 1,335
|
|
|
|
14년 전
|
조회 1,294
|
|
|
|
14년 전
|
조회 1,181
|
|
|
|
14년 전
|
조회 3,822
|
|
|
|
14년 전
|
조회 1,731
|
|
|
|
14년 전
|
조회 1,189
|
|
|
|
14년 전
|
조회 1,248
|
|
|
|
14년 전
|
조회 1,228
|
|
|
|
14년 전
|
조회 1,310
|
|
|
|
14년 전
|
조회 1,111
|
|
|
|
14년 전
|
조회 1,185
|
|
|
|
14년 전
|
조회 1,821
|
|
|
선택이란
|
14년 전
|
조회 3,683
|
|
|
|
14년 전
|
조회 2,112
|
|
|
|
14년 전
|
조회 1,176
|
|
|
|
14년 전
|
조회 1,161
|
|
|
|
14년 전
|
조회 1,279
|
|
|
|
14년 전
|
조회 1,149
|
|
|
|
14년 전
|
조회 1,254
|
|
|
|
14년 전
|
조회 1,384
|
|
|
|
14년 전
|
조회 1,123
|
|
|
|
14년 전
|
조회 3,604
|
|
|
|
14년 전
|
조회 3,505
|
|
|
|
14년 전
|
조회 1,324
|
|
|
|
14년 전
|
조회 1,826
|
|
|
|
14년 전
|
조회 1,448
|
|
|
|
14년 전
|
조회 1,283
|
|
|
|
14년 전
|
조회 3,801
|
|
|
|
14년 전
|
조회 2,792
|
|
|
|
14년 전
|
조회 2,395
|
|
|
|
14년 전
|
조회 2,298
|
|
|
|
14년 전
|
조회 1,087
|
|
|
|
14년 전
|
조회 1,855
|
|
|
|
14년 전
|
조회 1,073
|
|
|
|
14년 전
|
조회 1,038
|
|
|
|
14년 전
|
조회 1,098
|
|
|
|
14년 전
|
조회 1,515
|
|
|
|
14년 전
|
조회 1,537
|
|
|
|
14년 전
|
조회 2,171
|
|
|
|
14년 전
|
조회 1,337
|
|
|
|
14년 전
|
조회 1,558
|
|
|
|
14년 전
|
조회 1,729
|
|
|
|
14년 전
|
조회 1,713
|
|
|
|
14년 전
|
조회 1,099
|
|
|
|
14년 전
|
조회 2,281
|
|
|
|
14년 전
|
조회 1,439
|
|
|
|
14년 전
|
조회 1,758
|
|
|
|
14년 전
|
조회 1,520
|
|
|
|
14년 전
|
조회 1,837
|
|
|
|
14년 전
|
조회 1,963
|
|
|
|
14년 전
|
조회 1,378
|
|
|
|
14년 전
|
조회 1,608
|
|
|
|
14년 전
|
조회 1,864
|
|
|
|
14년 전
|
조회 1,970
|
|
|
|
14년 전
|
조회 1,303
|
|
|
|
14년 전
|
조회 1,507
|
|
|
|
14년 전
|
조회 2,159
|
|
|
|
14년 전
|
조회 3,290
|
|
|
|
14년 전
|
조회 2,523
|
|
|
|
14년 전
|
조회 2,593
|
|
|
|
14년 전
|
조회 2,025
|
|
|
|
14년 전
|
조회 1,805
|
|
|
|
14년 전
|
조회 1,718
|
|
|
|
14년 전
|
조회 1,474
|
|
|
|
14년 전
|
조회 969
|
|
|
|
14년 전
|
조회 1,894
|
|
|
|
14년 전
|
조회 4,958
|
|
|
|
14년 전
|
조회 1,868
|
|
|
|
14년 전
|
조회 1,636
|
|
|
|
14년 전
|
조회 1,141
|
|
|
|
14년 전
|
조회 1,374
|
|
|
선택이란
|
14년 전
|
조회 1,162
|
|
|
|
14년 전
|
조회 1,071
|
|
|
|
14년 전
|
조회 1,129
|
|
|
|
14년 전
|
조회 1,138
|
|
|
|
14년 전
|
조회 1,094
|
|
|
|
14년 전
|
조회 1,943
|
|
|
|
14년 전
|
조회 1,262
|
|
|
선택이란
|
14년 전
|
조회 1,120
|
|
|
|
14년 전
|
조회 1,060
|
|
|
|
14년 전
|
조회 1,132
|
댓글 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