|
|
|
14년 전
|
조회 1,205
|
|
|
|
14년 전
|
조회 1,310
|
|
|
|
14년 전
|
조회 1,180
|
|
|
|
14년 전
|
조회 5,289
|
|
|
|
14년 전
|
조회 1,180
|
|
|
|
14년 전
|
조회 5,566
|
|
|
|
14년 전
|
조회 1,892
|
|
|
|
14년 전
|
조회 1,702
|
|
|
|
14년 전
|
조회 1,138
|
|
|
|
14년 전
|
조회 1,336
|
|
|
선택이란
|
14년 전
|
조회 1,841
|
|
|
|
14년 전
|
조회 1,335
|
|
|
|
14년 전
|
조회 2,000
|
|
|
|
14년 전
|
조회 1,530
|
|
|
|
14년 전
|
조회 1,293
|
|
|
|
14년 전
|
조회 1,429
|
|
|
|
14년 전
|
조회 3,491
|
|
|
|
14년 전
|
조회 1,248
|
|
|
|
14년 전
|
조회 1,794
|
|
|
|
14년 전
|
조회 1,440
|
|
|
|
14년 전
|
조회 1,395
|
|
|
|
14년 전
|
조회 1,277
|
|
|
|
14년 전
|
조회 3,920
|
|
|
|
14년 전
|
조회 1,844
|
|
|
|
14년 전
|
조회 1,291
|
|
|
|
14년 전
|
조회 1,357
|
|
|
|
14년 전
|
조회 1,341
|
|
|
|
14년 전
|
조회 1,422
|
|
|
|
14년 전
|
조회 1,208
|
|
|
|
14년 전
|
조회 1,301
|
|
|
|
14년 전
|
조회 1,929
|
|
|
선택이란
|
14년 전
|
조회 3,790
|
|
|
|
14년 전
|
조회 2,234
|
|
|
|
14년 전
|
조회 1,278
|
|
|
|
14년 전
|
조회 1,260
|
|
|
|
14년 전
|
조회 1,384
|
|
|
|
14년 전
|
조회 1,255
|
|
|
|
14년 전
|
조회 1,372
|
|
|
|
14년 전
|
조회 1,478
|
|
|
|
14년 전
|
조회 1,198
|
|
|
|
14년 전
|
조회 3,685
|
|
|
|
14년 전
|
조회 3,589
|
|
|
|
14년 전
|
조회 1,405
|
|
|
|
14년 전
|
조회 1,893
|
|
|
|
14년 전
|
조회 1,521
|
|
|
|
14년 전
|
조회 1,362
|
|
|
|
14년 전
|
조회 3,864
|
|
|
|
14년 전
|
조회 2,857
|
|
|
|
14년 전
|
조회 2,462
|
|
|
|
14년 전
|
조회 2,377
|
|
|
|
14년 전
|
조회 1,167
|
|
|
|
14년 전
|
조회 1,936
|
|
|
|
14년 전
|
조회 1,149
|
|
|
|
14년 전
|
조회 1,153
|
|
|
|
14년 전
|
조회 1,201
|
|
|
|
14년 전
|
조회 1,617
|
|
|
|
14년 전
|
조회 1,649
|
|
|
|
14년 전
|
조회 2,280
|
|
|
|
14년 전
|
조회 1,440
|
|
|
|
14년 전
|
조회 1,674
|
|
|
|
14년 전
|
조회 1,836
|
|
|
|
14년 전
|
조회 1,825
|
|
|
|
14년 전
|
조회 1,217
|
|
|
|
14년 전
|
조회 2,381
|
|
|
|
14년 전
|
조회 1,546
|
|
|
|
14년 전
|
조회 1,866
|
|
|
|
14년 전
|
조회 1,619
|
|
|
|
14년 전
|
조회 1,953
|
|
|
|
14년 전
|
조회 2,066
|
|
|
|
14년 전
|
조회 1,484
|
|
|
|
14년 전
|
조회 1,728
|
|
|
|
14년 전
|
조회 1,970
|
|
|
|
14년 전
|
조회 2,075
|
|
|
|
14년 전
|
조회 1,424
|
|
|
|
14년 전
|
조회 1,610
|
|
|
|
14년 전
|
조회 2,266
|
|
|
|
14년 전
|
조회 3,407
|
|
|
|
14년 전
|
조회 2,645
|
|
|
|
14년 전
|
조회 2,693
|
|
|
|
14년 전
|
조회 2,131
|
|
|
|
14년 전
|
조회 1,915
|
|
|
|
14년 전
|
조회 1,834
|
|
|
|
14년 전
|
조회 1,591
|
|
|
|
14년 전
|
조회 1,067
|
|
|
|
14년 전
|
조회 2,012
|
|
|
|
14년 전
|
조회 5,085
|
|
|
|
14년 전
|
조회 1,994
|
|
|
|
14년 전
|
조회 1,768
|
|
|
|
14년 전
|
조회 1,264
|
|
|
|
14년 전
|
조회 1,486
|
|
|
선택이란
|
14년 전
|
조회 1,285
|
|
|
|
14년 전
|
조회 1,176
|
|
|
|
14년 전
|
조회 1,248
|
|
|
|
14년 전
|
조회 1,258
|
|
|
|
14년 전
|
조회 1,213
|
|
|
|
14년 전
|
조회 2,060
|
|
|
|
14년 전
|
조회 1,386
|
|
|
선택이란
|
14년 전
|
조회 1,245
|
|
|
|
14년 전
|
조회 1,178
|
|
|
|
14년 전
|
조회 1,237
|
댓글 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