통합

gpx.tours를 사용해 GPX 파일을 표시하는 지도를 만들고, 이를 웹사이트에 임베드할 수 있습니다.

필요한 것은 다음과 같습니다:

  1. 지도를 로드하기 위한 Mapbox 액세스 토큰
  2. 서버 또는 Google Drive에 호스팅된 GPX 파일, 또는 공개 URL로 접근 가능한 GPX 파일

아래 구성 도구를 사용하여 지도를 원하는 대로 커스터마이즈하고 해당 HTML 코드를 생성할 수 있습니다.

gpx.tours가 GPX 파일을 로드할 수 있도록 서버에서 CORS(교차 출처 리소스 공유) 헤더를 설정해야 합니다.

Create your own map

Fill by

You can move the map below to adjust the camera position.

                
                    <iframe src="https://gpx.tours/embed?options=%7B%22token%22%3A%22YOUR_MAPBOX_TOKEN%22%2C%22files%22%3A%5B%22https%3A%2F%2Fraw.githubusercontent.com%2Fgpxtours%2Fgpx.tours%2Fmain%2Fgpx%2Ftest-data%2Fsimple.gpx%22%5D%7D" width="100%" height="600px" frameborder="0" style="outline: none;"/>