此产品或功能处于旧版状态。如需详细了解“旧版”状态,请参阅
旧版产品和功能。如需迁移到 Places API for iOS(新版),请参阅
迁移指南。
地点类型
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[],[],null,["# Place Types\n\nThis page lists the supported values for the `types` property.\n\n- [Table 1](#table1) lists the types that are supported for place searches, and can be returned with Place details results, and as part of autocomplete place predictions.\n- [Table 2](#table2) lists additional types that can be returned with Place details results, and as part of autocomplete place predictions.\n- [Table 3](#table3) lists types you can use in place autocomplete requests.\n\nTable 1: Place types\n--------------------\n\nThe Place type values in Table 1 are used in the following ways:\n\n- As part of a Place details response. The request must specify the appropriate \"types\" [data field](/maps/documentation/places/ios-sdk/legacy/place-data-fields).\n- As part of an Place Autocomplete (Legacy) place prediction. For more information on the rules for using these values, see [Place Autocomplete (Legacy)](/maps/documentation/places/ios-sdk/legacy/autocomplete).\n- In the `type` parameter for [place searches](/maps/documentation/places/web-service/search) (Places API only), to restrict the results to places matching the specified type.\n\n- `accounting`\n- `airport`\n- `amusement_park`\n- `aquarium`\n- `art_gallery`\n- `atm`\n- `bakery`\n- `bank`\n- `bar`\n- `beauty_salon`\n- `bicycle_store`\n- `book_store`\n- `bowling_alley`\n- `bus_station`\n- `cafe`\n- `campground`\n- `car_dealer`\n- `car_rental`\n- `car_repair`\n- `car_wash`\n- `casino`\n- `cemetery`\n- `church`\n- `city_hall`\n- `clothing_store`\n- `convenience_store`\n- `courthouse`\n- `dentist`\n- `department_store`\n- `doctor`\n- `drugstore`\n- `electrician`\n- `electronics_store`\n- `embassy`\n- `fire_station`\n- `florist`\n- `funeral_home`\n- `furniture_store`\n- `gas_station`\n- `gym`\n- `hair_care`\n- `hardware_store`\n- `hindu_temple`\n- `home_goods_store`\n- `hospital`\n- `insurance_agency`\n- `jewelry_store`\n- `laundry` \n- `lawyer`\n- `library`\n- `light_rail_station`\n- `liquor_store`\n- `local_government_office`\n- `locksmith`\n- `lodging`\n- `meal_delivery`\n- `meal_takeaway`\n- `mosque`\n- `movie_rental`\n- `movie_theater`\n- `moving_company`\n- `museum`\n- `night_club`\n- `painter`\n- `park`\n- `parking`\n- `pet_store`\n- `pharmacy`\n- `physiotherapist`\n- `plumber`\n- `police`\n- `post_office`\n- `primary_school`\n- `real_estate_agency`\n- `restaurant`\n- `roofing_contractor`\n- `rv_park`\n- `school`\n- `secondary_school`\n- `shoe_store`\n- `shopping_mall`\n- `spa`\n- `stadium`\n- `storage`\n- `store`\n- `subway_station`\n- `supermarket`\n- `synagogue`\n- `taxi_stand`\n- `tourist_attraction`\n- `train_station`\n- `transit_station`\n- `travel_agency`\n- `university`\n- `veterinary_care`\n- `zoo`\n\nTable 2: Additional types returned by the Places service\n--------------------------------------------------------\n\nThe Place type values in Table 2 are used in the following ways:\n\n- As part of the result of a Place details request (for example, a call to `fetchPlace()`), or anywhere a Place result is returned. The request must specify the appropriate \"types\" [data field](/maps/documentation/places/ios-sdk/legacy/place-data-fields).\n| **Note:** Although `geocode` and `establishment` are part of Table 2, they cannot be combined with any other type in Tables 1, 2, or 3 in Place Autocomplete (Legacy) request filters.\n- As part of an Place Autocomplete (Legacy) place prediction. For more information on the rules for using these values, see [Place Autocomplete (Legacy)](/maps/documentation/places/ios-sdk/legacy/autocomplete).\n- To denote address components.\n\nFor more details on these types, refer to\n[Address Types](/maps/documentation/geocoding/requests-geocoding#Types).\n**Note:** The types below are **not supported** in the `type` filter of a place search. \n- `administrative_area_level_1`\n- `administrative_area_level_2`\n- `administrative_area_level_3`\n- `administrative_area_level_4`\n- `administrative_area_level_5`\n- `administrative_area_level_6`\n- `administrative_area_level_7`\n- `archipelago`\n- `colloquial_area`\n- `continent`\n- `country`\n- `establishment`\n- `finance`\n- `floor`\n- `food`\n- `general_contractor`\n- `geocode`\n- `health`\n- `intersection`\n- `landmark`\n- `locality`\n- `natural_feature`\n- `neighborhood`\n- `place_of_worship` \n- `plus_code`\n- `point_of_interest`\n- `political`\n- `post_box`\n- `postal_code`\n- `postal_code_prefix`\n- `postal_code_suffix`\n- `postal_town`\n- `premise`\n- `room`\n- `route`\n- `street_address`\n- `street_number`\n- `sublocality`\n- `sublocality_level_1`\n- `sublocality_level_2`\n- `sublocality_level_3`\n- `sublocality_level_4`\n- `sublocality_level_5`\n- `subpremise`\n- `town_square`\n\nTable 3: Type collections supported in Place Autocomplete (Legacy) requests\n---------------------------------------------------------------------------\n\nUse the Place type values in Table 3, or the values in Table 1 and Table 2, as part\nof a Place Autocomplete (Legacy) request to restrict the results to a specific type.\n\nOnly a single type from Table 3 is allowed in the request. If you do specify a value from Table 3,\nyou cannot specify a value from Table 1 or Table 2.\n\nFor more information on the rules for using these values, see\n\n[Place Autocomplete (Legacy)](/maps/documentation/places/ios-sdk/legacy/autocomplete).\n\n\nThe supported types are:\n\n- `geocode` instructs the Place Autocomplete (Legacy) service to return only geocoding results, rather than business results. Generally, you use this request to disambiguate results where the location specified may be indeterminate.\n- `address` instructs the Place Autocomplete (Legacy) service to return only geocoding results with a precise address. Generally, you use this request when you know the user will be looking for a fully specified address.\n- `establishment` instructs the Place Autocomplete (Legacy) service to return only business results.\n- The `(regions)` type collection instructs the Places service to return any result matching the following types:\n - `locality`\n - `sublocality`\n - `postal_code`\n - `country`\n - `administrative_area_level_1`\n - `administrative_area_level_2`\n- The `(cities)` type collection instructs the Places service to return results that match `locality` or `administrative_area_level_3`."]]