Circle
Cerchio con LatLng come centro e raggio.
Rappresentazione JSON |
{
"center": {
object (LatLng )
},
"radius": number
} |
Campi |
center |
object (LatLng )
Obbligatorio. Latitudine e longitudine del centro. La latitudine deve essere compresa nell'intervallo [-90.0, 90.0]. L'intervallo di longitudine deve essere compreso tra [-180.0, 180.0].
|
radius |
number
Obbligatorio. Raggio misurato in metri. Il raggio deve essere compreso tra [0.0, 50000.0].
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-22 UTC.
[null,null,["Ultimo aggiornamento 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"]]