Circle
Circle with a LatLng as center and radius.
JSON representation |
{
"center": {
object (LatLng )
},
"radius": number
} |
Fields |
center |
object (LatLng )
Required. Center latitude and longitude. The range of latitude must be within [-90.0, 90.0]. The range of the longitude must be within [-180.0, 180.0].
|
radius |
number
Required. Radius measured in meters. The radius must be within [0.0, 50000.0].
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-10 UTC.
[null,null,["Last updated 2024-04-10 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."]]],[]]