Place Types

This page lists the supported values for the types property.

  • Table 1 lists the types that are supported for place searches, and can be returned with Place details results, and as part of autocomplete place predictions.
  • Table 2 lists additional types that can be returned with Place details results, and as part of autocomplete place predictions.
  • Table 3 lists types you can use in place autocomplete requests.

Table 1: Place types

The Place type values in Table 1 are used in the following ways:

  • As part of the result of a Place details request (for example, a call to fetchPlace()). The request must specify the appropriate "types" data field.
  • As part of an Autocomplete place prediction.
  • In the type parameter for place searches (Places API only), to restrict the results to places matching the specified 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
  • 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
  • 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
  • real_estate_agency
  • restaurant
  • roofing_contractor
  • rv_park
  • school
  • shoe_store
  • shopping_mall
  • spa
  • stadium
  • storage
  • store
  • subway_station
  • supermarket
  • synagogue
  • taxi_stand
  • train_station
  • transit_station
  • travel_agency
  • veterinary_care
  • zoo

Table 2: Additional types returned by the Places service

The Place type values in Table 2 are used in the following ways:

  • 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.
  • As part of an Autocomplete place prediction.
  • To denote address components.

For more details on these types, refer to Address Types.

  • administrative_area_level_1
  • administrative_area_level_2
  • administrative_area_level_3
  • administrative_area_level_4
  • administrative_area_level_5
  • colloquial_area
  • country
  • establishment
  • finance
  • floor
  • food
  • general_contractor
  • geocode
  • health
  • intersection
  • locality
  • natural_feature
  • neighborhood
  • place_of_worship
  • political
  • point_of_interest
  • post_box
  • postal_code
  • postal_code_prefix
  • postal_code_suffix
  • 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

Table 3: Types supported in place autocomplete requests

You may restrict results from a Place Autocomplete request to be of a certain type by passing a types parameter. The parameter specifies a type or a type collection, as listed in the supported types below. If nothing is specified, all types are returned. In general only a single type is allowed. The exception is that you can safely mix the geocode and establishment types, but note that this will have the same effect as specifying no types. The supported types are:

  • geocode instructs the Place Autocomplete 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.
  • address instructs the Place Autocomplete 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.
  • establishment instructs the Place Autocomplete service to return only business results.
  • The (regions) type collection instructs the Places service to return any result matching the following types:
    • locality
    • sublocality
    • postal_code
    • country
    • administrative_area_level_1
    • administrative_area_level_2
  • The (cities) type collection instructs the Places service to return results that match locality or administrative_area_level_3.

Envoyer des commentaires concernant…