支持的地方类型
访问:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=22.3197521348%2C114.1695927354&radius=10000&types=gym&key=AIzaXXXXMGXXX1zXeLX-QNi9N7ozRJWZlREyYEe4&sensor=false&language=gb_en
本页面列出了 Google Places API 中 types
属性支持的值。表1列出了用户可在地方搜索和地方添加操作中使用的类型。表2列出了地方搜索结果中可能会返回的其他类型。
表1:地方搜索和地方添加操作中支持的类型
以下值既可以用作地方搜索的 types
过滤条件,也可以在添加地方时使用。
- 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
- electrician
- electronics_store
- embassy
- establishment
- finance
- fire_station
- florist
- food
- funeral_home
- furniture_store
- gas_station
- general_contractor
- grocery_or_supermarket
- gym
- hair_care
- hardware_store
- health
- hindu_temple
- home_goods_store
- hospital
- insurance_agency
- jewelry_store
- laundry
- lawyer
- library
- 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
- place_of_worship
- plumber
- police
- post_office
- real_estate_agency
- restaurant
- roofing_contractor
- rv_park
- school
- shoe_store
- shopping_mall
- spa
- stadium
- storage
- store
- subway_station
- synagogue
- taxi_stand
- train_station
- travel_agency
- university
- veterinary_care
- zoo
- administrative_area_level_1
- administrative_area_level_2
- administrative_area_level_3
- colloquial_area
- country
- floor
- geocode
- intersection
- locality
- natural_feature
- neighborhood
- political
- point_of_interest
- post_box
- postal_code
- postal_code_prefix
- postal_town
- premise
- room
- route
- street_address
- street_number
- sublocality
- sublocality_level_4
- sublocality_level_5
- sublocality_level_3
- sublocality_level_2
- sublocality_level_1
- subpremise
- transit_station