

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 특정 위치의 정적 맵을 가져오는 방법
<a name="get-static-map-specific-position"></a>

이 주제에서는 특정 파라미터를 기반으로 Amazon Location Service에서 정적 맵을 검색하는 방법을 알아봅니다. 중앙 위치, 경계 상자 및 경계 위치 집합에 대한 정적 맵을 생성하는 방법을 알아봅니다. 제공된 예제는 맵의 너비, 높이 및 스타일을 사용자 지정하는 데 도움이 됩니다.

**참고**  
정적 맵을 생성할 때는 `map` 또는 `map@2x`를 전달해야 합니다.

## 중앙 위치의 맵 이미지 가져오기
<a name="get-map-center-position"></a>

이 예제에서는 너비가 `1024`이고 높이가 `1024`이고 중심 좌표는 `-123.1143,49.2763`에 설정된 맵 이미지를 생성합니다. 여기서 `longitude=-123.1143`이고 `latitude=49.2763`이며 확대/축소 수준은 `15`입니다.

------
#### [ Request URL ]

```
https://maps.geo.eu-central-1.amazonaws.com/v2/static/map?style=Satellite&width=1024&height=1024&zoom=15&center=-123.1156126,49.2767046&key=API_KEY
```

------
#### [ Response image ]

![\[Aerial view of a coastal city with dense urban layout, harbor, and large stadium visible.\]](http://docs.aws.amazon.com/ko_kr/location/latest/developerguide/images/static-center.png)


------

## 경계 상자의 맵 이미지 가져오기
<a name="get-map-bounding-box"></a>

이 예제에서는 해당 영역의 경계 상자를 설정하여 동남아시아의 맵 이미지를 생성합니다.

`bbox` 형식은 `{southwest_longitude},{southwest_latitude},{northeast_longitude},{northeast_latitude}`입니다.

------
#### [ Request URL ]

```
https://maps.geo.eu-central-1.amazonaws.com/v2/static/map?style=Satellite&width=1024&height=1024&bounding-box=90.00,-21.94,146.25,31.95&key=API_KEY
```

------
#### [ Response image ]

![\[Satellite view of Southeast Asia, showing mainland, islands, and surrounding waters.\]](http://docs.aws.amazon.com/ko_kr/location/latest/developerguide/images/static-bounding-box.png)


------

## 경계 위치에 대한 맵 이미지 가져오기
<a name="get-map-bounded-positions"></a>

이 예제에서는 좌표(경로, 위도)를 사용하여 각각 지정한 파리에서 가보아야 할 여러 장소를 포함하는 맵을 생성합니다. 경계 위치에는 Eiffel Tower, Louvre Museum, Notre-Dame Cathedral, Champs-Élysées, Arc de Triomphe, Sacré-Cœur Basilica, Luxembourg Gardens, Musée d'Orsay, Place de la Concorde 및 Palais Garnier가 포함됩니다.

경계 위치의 형식은 `{longitude1},{latitude1},{longitude2},{latitude2} ... {longitudeN},{latitudeN}`입니다.

------
#### [ Request URL ]

```
https://maps.geo.eu-central-1.amazonaws.com/v2/static/map?style=Satellite&width=1024&height=1024&bounded-positions=2.2945,48.8584,2.3376,48.8606,2.3500,48.8529,2.3076,48.8698,2.2950,48.8738,2.3431,48.8867,2.3372,48.8462,2.3266,48.8600,2.3212,48.8656,2.3317,48.8719&key=API_KEY
```

------
#### [ Response image ]

![\[Aerial view of Paris showing dense urban layout, Seine River, and iconic landmarks.\]](http://docs.aws.amazon.com/ko_kr/location/latest/developerguide/images/static-bounding-position.png)


------