장소 유형

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

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

표 1: 장소 유형

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

  • 장소 세부정보 응답의 일부입니다. 이 요청은 적절한 data field를 지정해야 합니다.
  • 자동 완성 장소 예측의 일부 이러한 값을 사용하는 규칙에 대한 자세한 내용은 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의 장소 유형 값은 다음과 같은 방식으로 사용됩니다.

  • Place Details 요청 결과의 일부 (예: fetchPlace() 호출) 또는 Place 결과가 반환되는 모든 곳 이 요청은 적절한 '유형' 데이터 필드를 지정해야 합니다.
  • 자동 완성 장소 예측의 일부 이러한 값을 사용하는 규칙에 대한 자세한 내용은 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의 값을 장소 자동 완성 요청의 일부로 사용하여 결과를 특정 유형으로 제한합니다.

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

이러한 값을 사용하는 규칙에 대한 자세한 내용은 장소 자동 완성을 참고하세요.

지원 유형은 다음과 같습니다.

  • 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와 일치하는 결과를 반환하도록 지시합니다.