Circle
Cercle avec un LatLng au centre et un rayon.
Représentation JSON |
{
"center": {
object (LatLng )
},
"radius": number
} |
Champs |
center |
object (LatLng )
Obligatoire. Latitude et longitude centrales. La plage de latitude doit être comprise entre [-90,0, 90,0]. La plage de longitude doit être comprise dans la plage [-180,0, 180,0].
|
radius |
number
Obligatoire. Rayon mesuré en mètres. Le rayon doit être compris entre [0,0, 50 000,0].
|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/22 (UTC).
[null,null,["Dernière mise à jour le 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"]]