Circle
วงกลมที่มีละติจูดและลองจิจูดเป็นจุดศูนย์กลางและรัศมี
การแสดง JSON |
{
"center": {
object (LatLng )
},
"radius": number
} |
ช่อง |
center |
object (LatLng )
ต้องระบุ กึ่งกลางละติจูดและลองจิจูด ช่วงละติจูดต้องอยู่ภายใน [-90.0, 90.0] ช่วงลองจิจูดต้องอยู่ภายใน [-180.0, 180.0]
|
radius |
number
ต้องระบุ รัศมีวัดเป็นเมตร รัศมีต้องอยู่ภายใน [0.0, 50000.0]
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-22 UTC
[null,null,["อัปเดตล่าสุด 2024-08-22 UTC"],[[["Defines a circular area using a central point (LatLng) and a radius."],["Requires specifying the center's latitude and longitude within valid ranges."],["Requires a radius in meters, with a maximum limit."],["`center` and `radius` fields are mandatory for defining the circle."]]],["The JSON represents a circle defined by a `center` and `radius`. The `center` is a LatLng object, with latitude ranging from -90.0 to 90.0 and longitude from -180.0 to 180.0. The `radius`, a number representing meters, must be within the range of 0.0 to 50000.0. Both `center` and `radius` are required fields to represent the circle.\n"]]