Places Aggregate API หรือเดิมเรียกว่า Places Insights API พร้อมให้บริการสำหรับผู้ใช้ทั่วไป (GA) แล้ว
คําถามที่พบบ่อยเกี่ยวกับ Places Aggregate API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
API มีการจำกัดอัตราไหม
สำหรับ Places Aggregate API จะมีขีดจำกัดอัตราเริ่มต้นที่ 1,200 คำค้นหาต่อนาที
'included_primary_types' และ 'included_types' ใน TypeFilter แตกต่างกันอย่างไร
included_primary_types
: ตัวกรองสำหรับสถานที่ซึ่งประเภทที่ระบุเป็นหมวดหมู่หลักหรือหมวดหมู่แรก สถานที่เหล่านี้อาจมีประเภทรองอื่นๆ ด้วย
included_types
: กรองสถานที่ที่มีประเภทที่ระบุเป็นหมวดหมู่ใดหมวดหมู่หนึ่ง
ไม่ว่าจะเป็นประเภทหลักหรือประเภทรอง
ตัวอย่างเช่น การค้นหาโดยใช้ included_primary_types
ที่ตั้งค่าเป็น restaurant
จะแสดงสถานที่ที่มีฟังก์ชันหลักคือการเสิร์ฟอาหาร ในขณะที่ included_types
ที่ตั้งค่าเป็น restaurant
จะแสดงสถานที่ที่เสิร์ฟอาหารแม้ว่าจะมีหมวดหมู่หลักอื่น เช่น museum
ที่มี cafe
ดูข้อมูลเพิ่มเติมได้ที่ประเภทสถานที่
ฉันจะกำหนดพื้นที่ค้นหาที่กำหนดเองซึ่งไม่ใช่วงกลมได้อย่างไร
คุณกำหนดพื้นที่ค้นหาที่กำหนดเองได้โดยใช้รูปหลายเหลี่ยม ระบุรายการพิกัดละติจูด
และลองจิจูดที่กำหนดจุดยอดของรูปหลายเหลี่ยมเดียวใน
ลำดับทวนเข็มนาฬิกา พิกัดแรกและพิกัดสุดท้ายต้องเหมือนกันเพื่อปิดรูปหลายเหลี่ยม
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 2025-08-29 UTC"],[],[],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."]]