"KML 전자지도 구현 방법"의 두 판 사이의 차이

Encyves Wiki
이동: 둘러보기, 검색
(§ Kml 데이터를 Google Mpas로 보는 방법)
(§ Kml 데이터를 Google Mpas로 보는 방법)
 
1번째 줄: 1번째 줄:
==§ Kml 데이터를 Google Mpas로 보는 방법==
+
==§ Kml 데이터를 Google Maps로 보는 방법==
  
 
* '''http://dh.aks.ac.kr/Encyves/Google/GoogleMapsKML.htm''' 스크립트를 이용할 수 있습니다. (2017. 11. 24.)
 
* '''http://dh.aks.ac.kr/Encyves/Google/GoogleMapsKML.htm''' 스크립트를 이용할 수 있습니다. (2017. 11. 24.)

2018년 4월 4일 (수) 13:32 기준 최신판

§ Kml 데이터를 Google Maps로 보는 방법

 kml=KML 파일 URL
  • 예시
 http://dh.aks.ac.kr/Encyves/Google/GoogleMapsKML.htm?kml=http://dh.aks.ac.kr/Encyves/Map/A401/A401.kml

한글 고문헌 출판 기관 전자지도

§ Kml 전자지도를 위키 페이지에 삽입하는 방법

  • 다음과 같이 하면 됩니다.
<html>
<script>function reload() {window.location.reload();} </script>
<input type="button" value=" Map " onclick="reload();"> 
<iframe width="100%" height="670px" src="http://dh.aks.ac.kr/Encyves/Google/GoogleMapsKML.htm?kml=http://dh.aks.ac.kr/Encyves/Map/A401/A401.kml" frameborder="0" allowfullscreen></iframe>
</html>
  • 예시

한글 고문헌 출판 기관 전자지도


§ Kml 데이터를 Google Earth로 보는 방법

  • 온라인 상에서 kml 파일을 직접 클릭하여 이용자 단말기(PC 또는 Mobile)에 설치된 Google Earth 또는 Google Earth Pro를 실행할 수 있습니다.
  • 파빌리온 내에서 Google Earth를 실행하려면 사이트 신 파일(*.lst)의 #Reference 섹션에 다음 같이 지정합니다

※ 예시: Google Earth를 호출 스크립트

  #Reference
  http://dh.aks.ac.kr/Encyves/Tutorial/workshop2/map2.kml	200 -10	/VR/style/plane60.png 1.0	$Aerial Tour

§ Kml 파일 만드는 방법: Make 3D Kml 사용

입출력 파일

  • Make 3D Kml의 입력 파일은 Make 3D Menu 입력 파일과 형식이 동일합니다.
  • 입력 파일의 필요 요소는 #Sites 섹션과 #HostURL 섹션입니다.

※ 예시: map1.lst

  #Project

  #Sites
  workshop2	demo2		37.548876	126.9812913	$Gallery Artwa
  workshop2	demo2.AksLab	37.3919489	127.0530158	$Gallery Y
  workshop2	demo2.GalleryY	37.4929947	126.9919089	$AKS Virtual Gallery

  #HostURL
  http://dh.aks.ac.kr/Encyves/Tutorial

  #End
  • Make 3D Kml의 출력 파일은 *.kml 한 종류입니다.

Make 3D Menu로 만드는 *.kml과 다른 점

  • Make 3D Menu의 #Sites 섹션에는 최대 30개 까지의 사이트 또는 개별 신을 지정할 수 있습니다.
  • Make 3D Kml의 #Sites 섹션에는 최대 256개 까지의 사이트 또는 개별 신을 지정할 수 있습니다.