Places Aggregate API که قبلاً با نام Places Insights API شناخته می شد، اکنون به طور کلی در دسترس است (GA).
Places Aggregate API سؤالات متداول، Places Aggregate API سؤالات متداول، Places Aggregate API سؤالات متداول، Places Aggregate API سؤالات متداول
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
آیا محدودیت نرخ در API وجود دارد؟
برای Places Aggregate API، محدودیت نرخ پیشفرض 1200 درخواست در دقیقه وجود دارد.
تفاوت بین 'included_primary_types' و 'included_types' در TypeFilter چیست؟
-
included_primary_types
: فیلترهایی برای مکان هایی که انواع مشخص شده دسته اصلی یا اصلی آنها هستند. این مکان ها ممکن است انواع ثانویه دیگری نیز داشته باشند. -
included_types
: فیلترهایی برای مکان هایی که انواع مشخص شده را به عنوان هر یک از دسته های خود دارند، صرف نظر از اینکه نوع اولیه یا ثانویه آن است.
برای مثال، جستجوی با استفاده از included_primary_types
set to restaurant
مکانهایی را برمیگرداند که عملکرد اصلی آنها سرو غذا است، در حالی که included_types
تنظیمشده به restaurant
مکانهایی را که غذا سرو میکنند، حتی اگر دسته اصلی دیگری داشته باشند، مانند museum
با cafe
، برمیگرداند.
برای مطالعه بیشتر، از انواع مکان دیدن کنید.
چگونه یک ناحیه جستجوی سفارشی را که دایره نیست تعریف کنم؟
با استفاده از چند ضلعی می توانید یک ناحیه جستجوی سفارشی تعریف کنید. فهرستی از مختصات طول و عرض جغرافیایی ارائه کنید که رئوس یک چندضلعی را به ترتیب خلاف جهت عقربههای ساعت تعریف میکنند. مختصات اول و آخر باید یکسان باشند تا چند ضلعی بسته شود.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Places Aggregate API FAQ\n\nIs there a rate limit on the API?\n---------------------------------\n\nFor Places Aggregate API, there is a default rate limit of\n1,200 queries per minute.\n\nWhat is the difference between 'included_primary_types' and 'included_types' in the TypeFilter?\n-----------------------------------------------------------------------------------------------\n\n- `included_primary_types`: Filters for places where the specified types are their main or primary category. These places might also have other secondary types.\n- `included_types`: Filters for places that have the specified types as any of their categories, regardless of whether it's the primary or secondary type.\n\nFor example, a search using `included_primary_types` set to `restaurant` would\nreturn places whose primary function is to serve food, whereas `included_types`\nset to `restaurant` would return places that serve food even if they have\nanother primary category, such as a `museum` with a `cafe`.\n\nFor further reading, visit [Place Types](/maps/documentation/places/web-service/place-types).\n\nHow do I define a custom search area that isn't a circle?\n---------------------------------------------------------\n\nYou can define a custom search area using a polygon. Provide a list of latitude\nand longitude coordinates that define the vertices of a single polygon in a\ncounter-clockwise order. The first and last coordinates *must* be the same to\nclose the polygon."]]