|
|
|
14년 전
|
조회 1,170
|
|
|
|
14년 전
|
조회 1,271
|
|
|
|
14년 전
|
조회 1,144
|
|
|
|
14년 전
|
조회 5,256
|
|
|
|
14년 전
|
조회 1,144
|
|
|
|
14년 전
|
조회 5,535
|
|
|
|
14년 전
|
조회 1,862
|
|
|
|
14년 전
|
조회 1,664
|
|
|
|
14년 전
|
조회 1,104
|
|
|
|
14년 전
|
조회 1,294
|
|
|
선택이란
|
14년 전
|
조회 1,804
|
|
|
|
14년 전
|
조회 1,300
|
|
|
|
14년 전
|
조회 1,955
|
|
|
|
14년 전
|
조회 1,499
|
|
|
|
14년 전
|
조회 1,263
|
|
|
|
14년 전
|
조회 1,387
|
|
|
|
14년 전
|
조회 3,456
|
|
|
|
14년 전
|
조회 1,215
|
|
|
|
14년 전
|
조회 1,769
|
|
|
|
14년 전
|
조회 1,409
|
|
|
|
14년 전
|
조회 1,363
|
|
|
|
14년 전
|
조회 1,247
|
|
|
|
14년 전
|
조회 3,881
|
|
|
|
14년 전
|
조회 1,799
|
|
|
|
14년 전
|
조회 1,252
|
|
|
|
14년 전
|
조회 1,321
|
|
|
|
14년 전
|
조회 1,307
|
|
|
|
14년 전
|
조회 1,378
|
|
|
|
14년 전
|
조회 1,175
|
|
|
|
14년 전
|
조회 1,256
|
|
|
|
14년 전
|
조회 1,892
|
|
|
선택이란
|
14년 전
|
조회 3,754
|
|
|
|
14년 전
|
조회 2,192
|
|
|
|
14년 전
|
조회 1,248
|
|
|
|
14년 전
|
조회 1,230
|
|
|
|
14년 전
|
조회 1,354
|
|
|
|
14년 전
|
조회 1,219
|
|
|
|
14년 전
|
조회 1,328
|
|
|
|
14년 전
|
조회 1,442
|
|
|
|
14년 전
|
조회 1,172
|
|
|
|
14년 전
|
조회 3,657
|
|
|
|
14년 전
|
조회 3,558
|
|
|
|
14년 전
|
조회 1,381
|
|
|
|
14년 전
|
조회 1,879
|
|
|
|
14년 전
|
조회 1,501
|
|
|
|
14년 전
|
조회 1,341
|
|
|
|
14년 전
|
조회 3,843
|
|
|
|
14년 전
|
조회 2,838
|
|
|
|
14년 전
|
조회 2,444
|
|
|
|
14년 전
|
조회 2,357
|
|
|
|
14년 전
|
조회 1,139
|
|
|
|
14년 전
|
조회 1,913
|
|
|
|
14년 전
|
조회 1,124
|
|
|
|
14년 전
|
조회 1,108
|
|
|
|
14년 전
|
조회 1,163
|
|
|
|
14년 전
|
조회 1,589
|
|
|
|
14년 전
|
조회 1,606
|
|
|
|
14년 전
|
조회 2,239
|
|
|
|
14년 전
|
조회 1,403
|
|
|
|
14년 전
|
조회 1,631
|
|
|
|
14년 전
|
조회 1,796
|
|
|
|
14년 전
|
조회 1,789
|
|
|
|
14년 전
|
조회 1,175
|
|
|
|
14년 전
|
조회 2,341
|
|
|
|
14년 전
|
조회 1,505
|
|
|
|
14년 전
|
조회 1,828
|
|
|
|
14년 전
|
조회 1,587
|
|
|
|
14년 전
|
조회 1,914
|
|
|
|
14년 전
|
조회 2,035
|
|
|
|
14년 전
|
조회 1,445
|
|
|
|
14년 전
|
조회 1,680
|
|
|
|
14년 전
|
조회 1,932
|
|
|
|
14년 전
|
조회 2,043
|
|
|
|
14년 전
|
조회 1,376
|
|
|
|
14년 전
|
조회 1,577
|
|
|
|
14년 전
|
조회 2,228
|
|
|
|
14년 전
|
조회 3,368
|
|
|
|
14년 전
|
조회 2,598
|
|
|
|
14년 전
|
조회 2,664
|
|
|
|
14년 전
|
조회 2,092
|
|
|
|
14년 전
|
조회 1,878
|
|
|
|
14년 전
|
조회 1,788
|
|
|
|
14년 전
|
조회 1,549
|
|
|
|
14년 전
|
조회 1,029
|
|
|
|
14년 전
|
조회 1,963
|
|
|
|
14년 전
|
조회 5,036
|
|
|
|
14년 전
|
조회 1,947
|
|
|
|
14년 전
|
조회 1,710
|
|
|
|
14년 전
|
조회 1,221
|
|
|
|
14년 전
|
조회 1,453
|
|
|
선택이란
|
14년 전
|
조회 1,251
|
|
|
|
14년 전
|
조회 1,142
|
|
|
|
14년 전
|
조회 1,201
|
|
|
|
14년 전
|
조회 1,222
|
|
|
|
14년 전
|
조회 1,173
|
|
|
|
14년 전
|
조회 2,017
|
|
|
|
14년 전
|
조회 1,341
|
|
|
선택이란
|
14년 전
|
조회 1,195
|
|
|
|
14년 전
|
조회 1,133
|
|
|
|
14년 전
|
조회 1,203
|
댓글 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