geometry.json.circle
Extends IGeometryJson.
An object that defines the JSON representation of the "Circle" geometry.
Constructor
geometry.json.circle()
Example:
var geometryJson = {
    type: "Circle",
    coordinates: [1, 2],
    radius: 100
};
Fields
| Name | Type | Description | 
| Number[]|null | Coordinates of the center of the circle. | |
| Number | Radius of the circle. | |
| String | ID of the "Circle" geometry type. It must always take the value "Circle". | 
Fields details
coordinates
{Number[]|null} coordinates
Coordinates of the center of the circle.
radius
{Number} radius
Radius of the circle.
type
{String} type
ID of the "Circle" geometry type. It must always take the value "Circle".
Was the article helpful?
Previous