MerchantLocation
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สถานที่ที่สนใจสำหรับคลาสหรือออบเจ็กต์นี้ ปัจจุบันตำแหน่งนี้ใช้สำหรับการแจ้งเตือนเขตพื้นที่เสมือน เมื่อผู้ใช้อยู่ในรัศมีที่กำหนดของละติจูด/ลองจิจูดนี้และอยู่ในบริเวณนั้น Google จะทริกเกอร์การแจ้งเตือน เมื่อผู้ใช้ออกจากรัศมีนี้ ระบบจะซ่อนการแจ้งเตือน
การแสดง JSON |
{
"latitude": number,
"longitude": number
} |
ช่อง |
latitude |
number
ละติจูดที่ระบุเป็นค่าใดก็ได้ในช่วง -90.0 ถึง +90.0 โดยรวม ระบบจะปฏิเสธค่าที่อยู่นอกขอบเขตเหล่านี้
|
longitude |
number
ลองจิจูดที่ระบุในช่วง -180.0 ถึง +180.0 โดยรวมทั้ง 2 ค่า ระบบจะปฏิเสธค่าที่อยู่นอกขอบเขตเหล่านี้
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# MerchantLocation\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nLocations of interest for this class or object. Currently, this location is used for geofenced notifications. When a user is within a set radius of this lat/long, and dwells there, Google will trigger a notification. When a user exits this radius, the notification will be hidden.\n\n| JSON representation |\n|-----------------------------------------------------|\n| ``` { \"latitude\": number, \"longitude\": number } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `latitude` | `number` The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. |\n| `longitude` | `number` The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. |"]]