Circle
Stay organized with collections
Save and categorize content based on your preferences.
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 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eDefines a circular area using a central point (LatLng) and a radius.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the center's latitude and longitude within valid ranges.\u003c/p\u003e\n"],["\u003cp\u003eRequires a radius in meters, with a maximum limit.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecenter\u003c/code\u003e and \u003ccode\u003eradius\u003c/code\u003e fields are mandatory for defining the circle.\u003c/p\u003e\n"]]],["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"],null,["# Circle\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nCircle with a LatLng as center and radius.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"center\": { object (/maps/documentation/places/web-service/reference/rest/v1/places#LatLng) }, \"radius\": number } ``` |\n\n| Fields ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `center` | `object (`[LatLng](/maps/documentation/places/web-service/reference/rest/v1/places#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\\]. |\n| `radius` | `number` Required. Radius measured in meters. The radius must be within \\[0.0, 50000.0\\]. |"]]