Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
지형 타일
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지형 타일은 음영 기복도 매핑
및 등고선이 포함된 이미지 타일입니다. 여기에는 초목과 같은 자연 지형이 포함됩니다.
지형 타일 가져오기
세션 토큰을 가져온 후 지형 타일 요청을 시작할 수 있습니다.
세션 토큰은 전체 세션에 적용되므로 타일 요청과 함께 지도 옵션을 지정할 필요가 없습니다.
다음 코드 샘플은 지형 타일에 대한 일반적인 세션 토큰 요청을 보여줍니다.
curl -X POST -d '{
"mapType": "terrain",
"language": "en-US",
"region": "US",
"layerTypes": ["layerRoadmap"]
}' \
-H 'Content-Type: application/json' \
"https://tile.googleapis.com/v1/createSession?key=YOUR_API_KEY"
다음 예와 같이 HTTPS GET 요청을 실행하여 지형 타일을 가져옵니다.
curl "https://tile.googleapis.com/v1/2dtiles/z/x/y?session=YOUR_SESSION_TOKEN&key=YOUR_API_KEY"
타일 요청 예시
확대/축소 수준이 10이고 x 및 y 좌표가 (192, 401)인 단일 지형 타일을 요청하는 다음 예를 살펴보세요.
curl "https://tile.googleapis.com/v1/2dtiles/10/192/401?session=YOUR_SESSION_TOKEN&key=YOUR_API_KEY" --output /tmp/example_tile.png
이 예에서는 서버의 응답 메시지가 없습니다. 대신 타일이 로컬 파일에 다운로드됩니다.

응답 메시지 헤더에 대한 자세한 내용은
콘텐츠 프리패치, 캐싱 또는 저장을 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2026-04-29(UTC)
[null,null,["최종 업데이트: 2026-04-29(UTC)"],[],["Terrain tiles, which include hillshade mapping, contour lines, and natural features, are accessed by first obtaining a session token via a POST request specifying the map type, language, region, and layer types. Subsequently, tiles are retrieved with HTTPS GET requests, providing the zoom level (z), x and y coordinates, and the session token. An example demonstrates requesting a tile at zoom level 10, with coordinates (192, 401). The tile data downloads to a local file, without a server response message.\n"]]