Circle
מעגל עם LatLng בתור מרכז ורדיוס.
ייצוג JSON |
{
"center": {
object (LatLng )
},
"radius": number
} |
שדות |
center |
object (LatLng )
חובה. קו הרוחב וקו האורך במרכז. טווח קו הרוחב חייב להיות בטווח של [-90.0, 90.0]. טווח קו האורך חייב להיות בטווח של [ -180.0, 180.0].
|
radius |
number
חובה. רדיוס שנמדד במטרים. הרדיוס חייב להיות בטווח של [0.0, 50000.0].
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-22 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]