Circle
Lingkari dengan LatLng sebagai pusat dan radius.
Representasi JSON |
{
"center": {
object (LatLng )
},
"radius": number
} |
Kolom |
center |
object (LatLng )
Wajib diisi. Lintang dan bujur tengah. Rentang lintang harus berada dalam [-90,0, 90,0]. Rentang bujur harus berada dalam [-180,0, 180,0].
|
radius |
number
Wajib diisi. Radius diukur dalam meter. Radius harus berada dalam [0,0, 50000,0].
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-22 UTC.
[null,null,["Terakhir diperbarui pada 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"]]