Circle
JSON 表示法 |
{
"center": {
object (LatLng )
},
"radius": number
} |
欄位 |
center |
object (LatLng )
必要欄位。將經緯度置於中心點。 緯度範圍必須在 [-90.0, 90.0] 內。經度範圍必須在 [-180.0, 180.0] 內。
|
radius |
number
必要欄位。半徑是以公尺為單位。半徑必須在 [0.0, 50000.0] 內。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[null,null,["上次更新時間:2024-08-22 (世界標準時間)。"],[[["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"]]