장소 유형

플랫폼 선택: Android iOS JavaScript 웹 서비스

이 페이지에는 지원되는 types 속성 값이 나와 있습니다.

  • 표 1에는 장소 검색에 사용할 수 있고 장소 세부정보 결과와 함께 자동 완성 장소 예상 검색어의 일부로 반환될 수 있는 유형이 나열되어 있습니다.
  • 표 2에는 장소 세부정보 결과와 함께 자동 완성 장소 예상 검색어의 일부로 반환될 수 있는 추가 유형이 나열되어 있습니다.
  • 표 3에는 Place Autocomplete 요청에서 사용할 수 있는 유형이 나열되어 있습니다.

표 1: 장소 유형

표 1의 장소 유형 값은 다음과 같은 방식으로 사용됩니다.

  • 장소 세부정보 응답의 일부로 사용됩니다. 이 경우 요청에서 적절한 '유형' 데이터 필드를 지정해야 합니다.
  • 자동 완성 장소 예상 검색어의 일부로 사용됩니다. 이러한 값의 사용 규칙에 관한 자세한 내용은 Place Autocomplete를 참고하세요.
  • 장소 검색(Places API만 해당)의 type 매개변수에서 지정된 유형과 일치하는 장소로 결과를 제한하기 위해 사용됩니다.
  • accounting
  • airport
  • amusement_park
  • aquarium
  • art_gallery
  • atm
  • bakery
  • bank
  • bar
  • beauty_salon
  • bicycle_store
  • book_store
  • bowling_alley
  • bus_station
  • cafe
  • campground
  • car_dealer
  • car_rental
  • car_repair
  • car_wash
  • casino
  • cemetery
  • church
  • city_hall
  • clothing_store
  • convenience_store
  • courthouse
  • dentist
  • department_store
  • doctor
  • drugstore
  • electrician
  • electronics_store
  • embassy
  • fire_station
  • florist
  • funeral_home
  • furniture_store
  • gas_station
  • gym
  • hair_care
  • hardware_store
  • hindu_temple
  • home_goods_store
  • hospital
  • insurance_agency
  • jewelry_store
  • laundry
  • lawyer
  • library
  • light_rail_station
  • liquor_store
  • local_government_office
  • locksmith
  • lodging
  • meal_delivery
  • meal_takeaway
  • mosque
  • movie_rental
  • movie_theater
  • moving_company
  • museum
  • night_club
  • painter
  • park
  • parking
  • pet_store
  • pharmacy
  • physiotherapist
  • plumber
  • police
  • post_office
  • primary_school
  • real_estate_agency
  • restaurant
  • roofing_contractor
  • rv_park
  • school
  • secondary_school
  • shoe_store
  • shopping_mall
  • spa
  • stadium
  • storage
  • store
  • subway_station
  • supermarket
  • synagogue
  • taxi_stand
  • tourist_attraction
  • train_station
  • transit_station
  • travel_agency
  • university
  • veterinary_care
  • zoo

표 2: 장소 서비스에서 반환하는 추가 유형

표 2의 장소 유형 값은 다음과 같은 방식으로 사용됩니다.

  • 장소 세부정보 요청(예: fetchPlace() 호출) 결과의 일부로 또는 장소 결과가 반환되는 모든 위치에 사용됩니다. 이 경우 요청에서 적절한 '유형' 데이터 필드를 지정해야 합니다.
  • 자동 완성 장소 예상 검색어의 일부로 사용됩니다. 이러한 값의 사용 규칙에 관한 자세한 내용은 Place Autocomplete를 참고하세요.
  • 주소 구성요소를 나타내기 위해 사용됩니다.

이러한 유형에 관한 자세한 내용은 주소 유형을 참고하세요.

  • administrative_area_level_1
  • administrative_area_level_2
  • administrative_area_level_3
  • administrative_area_level_4
  • administrative_area_level_5
  • administrative_area_level_6
  • administrative_area_level_7
  • archipelago
  • colloquial_area
  • continent
  • country
  • establishment
  • finance
  • floor
  • food
  • general_contractor
  • geocode
  • health
  • intersection
  • landmark
  • locality
  • natural_feature
  • neighborhood
  • place_of_worship
  • plus_code
  • point_of_interest
  • political
  • post_box
  • postal_code
  • postal_code_prefix
  • postal_code_suffix
  • postal_town
  • premise
  • room
  • route
  • street_address
  • street_number
  • sublocality
  • sublocality_level_1
  • sublocality_level_2
  • sublocality_level_3
  • sublocality_level_4
  • sublocality_level_5
  • subpremise
  • town_square

표 3: Place Autocomplete 요청에서 지원되는 유형 모음

결과를 특정 유형으로 제한하려면 표 3의 장소 유형 값 또는 표 1 및 표 2의 값을 Place Autocomplete 요청의 일부로 사용하세요.

이 요청에서는 표 3의 단일 유형만 허용됩니다. 표 3의 값을 지정하는 경우 표 1이나 표 2의 값은 지정할 수 없습니다.

이러한 값의 사용 규칙에 관한 자세한 내용은 Place Autocomplete를 참고하세요.

다음과 같은 유형이 지원됩니다.

  • geocode는 Place Autocomplete 서비스에 비즈니스 결과가 아닌 지오코딩 결과만 반환하도록 지시합니다. 일반적으로 지정된 위치가 명확하지 않은 경우 이 요청을 사용하여 결과를 구분합니다.
  • address는 Place Autocomplete 서비스에 정확한 주소를 가진 지오코딩 결과만 반환하도록 지시합니다. 일반적으로 사용자가 완전히 지정된 주소를 찾을 것이라는 사실을 알고 있는 경우 이 요청을 사용합니다.
  • establishment는 Place Autocomplete 서비스에 비즈니스 결과만 반환하도록 지시합니다.
  • (regions) 유형 모음은 장소 서비스에 다음 유형과 일치하는 모든 결과를 반환하도록 지시합니다.
    • locality
    • sublocality
    • postal_code
    • country
    • administrative_area_level_1
    • administrative_area_level_2
  • (cities) 유형 모음은 장소 서비스에 locality 또는 administrative_area_level_3과 일치하는 결과를 반환하도록 지시합니다.