reviewsהשקת Places UI Kit: ספריית רכיבים מוכנה לשימוש בעלות נמוכה, שמאפשרת לכם להוסיף לכל מפה שתבחרו את ממשק המשתמש המוכר של 'מקומות' במפות Google. כדאי לנסות אותו ולשלוח לנו משוב כדי לעזור לנו לעצב את העתיד של GMP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בדף הזה מפורטים הערכים הנתמכים של המאפיין types.
טבלה 1 מציגה את הסוגים הנתמכים בחיפושים של מקומות, שאפשר להציג אותם עם תוצאות של פרטי מקומות וכחלק מחיזויים של מקומות בהשלמה אוטומטית.
טבלה 2 מציגה סוגים נוספים שיכולים להופיע בתוצאות של פרטי המקומות, וכחלק מהחיזויים של המקומות להשלמה אוטומטית.
טבלה 3 מציגה את הסוגים שאפשר להשתמש בהם במקום בקשות להשלמה אוטומטית.
טבלה 1: סוגי מקומות
הערכים של סוג המקום בטבלה 1 משמשים בדרכים הבאות:
כחלק מתשובה על בקשה לקבלת פרטים על מקום. בבקשה צריך לציין את שדה הנתונים המתאים של 'types'.
כחלק מחיזוי של מקום בהשלמה האוטומטית של מיקומים (גרסה קודמת). מידע נוסף על הכללים לשימוש בערכי השלמה אוטומטית האלה זמין במאמר השלמה אוטומטית של מקומות (גרסה קודמת).
בפרמטר type לחיפושי מקומות (Places API בלבד), כדי להגביל את התוצאות למקומות שתואמים לסוג שצוין.
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: סוגים נוספים שמוחזרים על ידי שירות Places
הערכים של Place type בטבלה 2 משמשים בדרכים הבאות:
כחלק מהתוצאה של בקשה לפרטים של מקום (לדוגמה, קריאה ל-fetchPlace()), או בכל מקום שבו מוחזרת תוצאה של מקום. בבקשה צריך לציין את שדה הנתונים המתאים של 'types'.
כחלק מחיזוי של מקום בהשלמה האוטומטית של מיקומים (גרסה קודמת). מידע נוסף על הכללים לשימוש בערכי השלמה אוטומטית האלה זמין במאמר השלמה אוטומטית של מיקומים.
כדי לציין את רכיבי הכתובת.
למידע נוסף על הסוגים האלה, קראו את המאמר סוגי כתובות.
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: אוספי טיפוסים שנתמכים בבקשות של השלמה אוטומטית של מיקומים (מדור קודם)
כדי להגביל את התוצאות לסוג ספציפי, אפשר להשתמש בערכים של סוג המקום בטבלה 3, או בערכים בטבלה 1 ובטבלה 2, כחלק משאילתה להשלמה אוטומטית של מקום (מדור קודם).
מותר להשתמש רק בסוג אחד מטבלה 3 בבקשה. אם מציינים ערך מטבלה 3, אי אפשר לציין ערך מטבלה 1 או מטבלה 2.
geocode מורה לשירות ההשלמה האוטומטית של מקומות (מדור קודם) להציג רק תוצאות של גיאוקודינג, ולא תוצאות של עסקים. בדרך כלל משתמשים בבקשה הזו כדי להסיר מחלוקות לגבי תוצאות שבהן המיקום שצוין עשוי להיות לא חד-משמעי.
address מורה לשירות השלמה אוטומטית של מקומות (מדור קודם) להציג רק תוצאות של גיאוקודינג עם כתובת מדויקת. באופן כללי, משתמשים בבקשה הזו כשידוע שהמשתמש יחפש כתובת שצוינה במלואה.
establishment מורה לשירות ההשלמה האוטומטית של מקומות (מדור קודם) להציג רק תוצאות של עסקים.
אוסף הסוגים (regions) מורה לשירות Places להציג כל תוצאה שתואמת לסוגים הבאים:
locality
sublocality
postal_code
country
administrative_area_level_1
administrative_area_level_2
האוסף מסוג (cities) מורה לשירות Places להציג תוצאות שתואמות ל-locality או ל-administrative_area_level_3.
[null,null,["עדכון אחרון: 2025-08-06 (שעון UTC)."],[],[],null,["This 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\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/javascript/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/javascript/legacy/place-autocomplete#constraining-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\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/javascript/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 [Places Autocomplete](/maps/documentation/javascript/legacy/places-autocomplete#constrain-place-types).\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\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[Places Autocomplete](/maps/documentation/javascript/legacy/places-autocomplete#constrain-place-types).\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`."]]