Circle
Okrąg z szerokością geograficzną jako środkiem i promieniem.
Zapis JSON |
{
"center": {
object (LatLng )
},
"radius": number
} |
Pola |
center |
object (LatLng )
Wymagane. Długość i szerokość geograficzna pośrodku. Zakres szerokości geograficznej musi mieścić się w przedziale [-90,0, 90,0]. Długość geograficzna musi się mieścić w zakresie od -180,0 do 180,0.
|
radius |
number
Wymagane. Promień mierzony w metrach. Promień musi mieścić się w zakresie [0,0, 50 000,0].
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]