کتابخانه مؤلفه Places UI Kit به شما امکان می دهد تجربه کاربری آشنای Google Maps را برای Places به برنامه ها و صفحات وب خود بیاورید، با استفاده از همان داده هایی که به Places API نیرو می دهد. این شامل مجموعهای از مؤلفههای UI مجزا است که میتوانند بهطور مستقل، با هم و در ارتباط با سایر APIهای پلتفرم Google Maps برای ارائه تجربهای غنی از مکانها با کمترین هزینه و کد استفاده شوند.
کیت UI Places شامل عناصر HTML زیر برای ارائه داده های Places است:
عناصر جزئیات مکان (جزئیات مکان و جزئیات مکان فشرده) جزئیاتی مانند ساعات کاری، وب سایت و نظرات یک مکان انتخاب شده را ارائه می دهند.
عناصر جستجوی مکان (جستجوی مکان نزدیک و جستجوی متن مکان) فهرستی از مکانها را در پاسخ به جستجوی نزدیک یا جستجوی متنی ارائه میدهند.
عنصر تکمیل خودکار مکان پایه یک فیلد ورودی متن را ارائه میکند، پیشبینیهای مکان را در فهرست انتخاب رابط کاربری ارائه میکند و شناسه مکان را برای مکان انتخابی برمیگرداند.
Elevation (تجربی) داده های ارتفاع را به عنوان یک مقدار عددی برای یک نقطه یا به عنوان یک نمودار بصری برای یک مسیر ارائه می کند.
ویژگی ها و قابلیت های کلیدی
تجربه قابل اعتماد Google را با حداقل کد شروع کنید.
رابط کاربری Google Maps for Places را با هزینه کمتری نسبت به Places API به برنامه های خود بیاورید.
گزینه های داده و نمایش را انتخاب کنید که به بهترین وجه با نیازهای شما مطابقت دارند.
صورتحساب
درخواستهای Places UI Kit همیشه با نرخ API Places UI Kit صورتحساب میشوند، صرف نظر از اینکه از کدام روش جستجو استفاده میکنند یا چه نوع دادههایی را برمیگردانند. برای مثال، Places UI Kit Nearby Search هیچ هزینه اضافی برای Places API Nearby Search Pro متحمل نخواهد شد. به طور مشابه، درخواست Places UI Kit Place Details ممکن است عکسها، قیمت و رتبهبندی مکان انتخابی را برگرداند، اما فقط برای درخواست Places UI Kit Place Details صورتحساب دریافت میکنید.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe Places UI Kit offers pre-built UI components for integrating Google Maps Places functionality into your apps and web pages.\u003c/p\u003e\n"],["\u003cp\u003eIt includes components like Place Details, Place List, and Elevation for displaying place information and elevation data.\u003c/p\u003e\n"],["\u003cp\u003eThis kit is cost-effective compared to the Places API and allows customization of data and display options.\u003c/p\u003e\n"],["\u003cp\u003eThis product or feature is currently in the Experimental (pre-GA) phase, which means it has limited support and potential for incompatibility.\u003c/p\u003e\n"]]],[],null,["Select platform: [Android](/maps/documentation/places/android-sdk/places-ui-kit-overview \"View this page for the Android platform docs.\") [iOS](/maps/documentation/places/ios-sdk/places-ui-kit-overview \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/places-ui-kit/overview \"View this page for the JavaScript platform docs.\")\n\n\nThe Places UI Kit component library lets you bring the familiar Google Maps user experience for\nPlaces to your apps and web pages, using the same data that powers the Places API. It includes a\nset of individual UI components that can be used independently, together, and in conjunction with\nother Google Maps Platform APIs to deliver a Places-rich experience with minimal cost and code.\n\n\nThe Places UI Kit includes the following HTML elements for rendering Places data:\n- [Place Details Elements](/maps/documentation/javascript/places-ui-kit/place-details) (Place Details and Place Details Compact) render details such as opening hours, website, and reviews for a selected place.\n- [Place Search Elements](/maps/documentation/javascript/places-ui-kit/place-list) (Place Nearby Search and Place Text Search) render a list of places in response to either a nearby search or text search query.\n- [Basic Place Autocomplete Element](/maps/documentation/javascript/places-ui-kit/basic-autocomplete) renders a text input field, supplies place predictions in a UI pick list, and returns a place ID for the selected place.\n- [Elevation](/maps/documentation/javascript/places-ui-kit/elevation) (experimental) renders elevation data as a numerical value for a single point, or as a visual plot for a path.\n| **Tip:** The Places UI Kit offers extensive visual customization options at no extra charge. See [Places UI Kit Custom Styling](/maps/documentation/javascript/places-ui-kit/custom-styling) for more information.\n\nKey features and capabilities\n - Incorporate Google's trusted experience starting with minimal code.\n - Bring Google Maps UI for Places to your apps at a lower cost than the Places API.\n - Choose the data and display options that best suit your needs.\n\nBilling\n- Places UI Kit requests are always billed at the [Places UI Kit API rate](/maps/billing-and-pricing/sku-details#places_ui-kit-request-ess-sku), regardless of which search method they use or what data types they return. For example, a Places UI Kit Nearby Search won't incur any additional charges for Places API Nearby Search Pro. Similarly, a Places UI Kit Place Details request may return photos, price, and rating for a selected place, but you will only be billed for the Places UI Kit Place Details request.\n\nNext step:\n[Get started with the Places UI Kit](/maps/documentation/javascript/places-ui-kit/get-started)"]]