reviewsהשקת Places UI Kit: ספריית רכיבים מוכנה לשימוש בעלות נמוכה, שמאפשרת לכם להוסיף לכל מפה שתבחרו את ממשק המשתמש המוכר של 'מקומות' במפות Google. כדאי לנסות אותו ולשלוח לנו משוב כדי לעזור לנו לעצב את העתיד של GMP.
המחלק Place מספק API לשימוש בספריית Places, ותומך בדפוסי שימוש מודרניים כמו Promises. בעזרת המחלקה Place, אתם יכולים ליצור תכונות מבוססות-מיקום באפליקציה שלכם, ולהנגיש למשתמשים נתוני מיקום מפורטים באמצעות תכונת חיפוש חכמה שמותאמת לצרכים שלכם. הנתונים משירות המקומות הם אחד ממודלי המקומות המדויקים, המקיפים והעדכניים ביותר של העולם האמיתי.
מה אפשר לעשות עם המחלקה Place
למחלקה Place יש את התכונות הבאות:
חיפוש מקומות
חיפוש טקסט (חדש) מאפשר לחפש נתונים של מקומות באמצעות שאילתת טקסט.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-08-10 (שעון UTC)."],[[["\u003cp\u003eThe Google Maps Places JavaScript library provides tools to search for places using text, proximity, or autocomplete, and retrieve details like photos, reviews, and operating hours.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage the Place class and modern usage patterns, such as Promises, to create location-aware features and access comprehensive place data.\u003c/p\u003e\n"],["\u003cp\u003eThe Places service offers highly accurate, up-to-date, and extensive data representing real-world locations.\u003c/p\u003e\n"],["\u003cp\u003eGet started with the Place class to integrate powerful place search and data retrieval into your JavaScript application.\u003c/p\u003e\n"]]],[],null,["Select platform: [Android](/maps/documentation/places/android-sdk/overview \"View this page for the Android platform docs.\") [iOS](/maps/documentation/places/ios-sdk/overview \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/place \"View this page for the JavaScript platform docs.\") [Web Service](/maps/documentation/places/web-service/overview \"View this page for the Web Service platform docs.\") \n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\nOverview\n\nThe Place class provides an API for using the Places library,\nand supports modern usage patterns such as [Promises](/maps/documentation/javascript/promises).\nWith the Place class, you can create location-aware features in your\napp and make detailed location data available to your users through an intelligent search feature\nyou customize to your needs. The data from the Places service is one of the most accurate,\nup-to-date, and comprehensive place models of the real world.\n\nWhat you can do with the Place class\n\nThe Place class has following features:\n\nSearch for places\n\n- [Text Search (New)](/maps/documentation/javascript/place-search) lets you search for place data using a text query.\n- [Nearby Search (New)](/maps/documentation/javascript/nearby-search) lets you search for nearby places by place type.\n- [Place Autocomplete](/maps/documentation/javascript/place-autocomplete-overview) provides your app with the same type-ahead-search behavior of the Google Maps search field.\n\nGet place data\n\n- [Place Details (New)](/maps/documentation/javascript/place-details) provides detailed information about places, including text summary, operating hours, address, user reviews, photos, and more.\n- [Place Photos](/maps/documentation/javascript/place-photos) provides access to high-quality photographic images from the Places database.\n- [Place Reviews](/maps/documentation/javascript/place-reviews) provides access to place reviews and ratings.\n\n**Next step:** [Get started](/maps/documentation/javascript/place-get-started)"]]