geometry.json.circle

Extends IGeometryJson.

An object that defines the JSON representation of the "Circle" geometry.

Constructor | Fields

Constructor

geometry.json.circle()

Example:

var geometryJson = {
    type: "Circle",
    coordinates: [1, 2],
    radius: 100
};

Fields

Name Type Description
coordinates Number[]|null

Coordinates of the center of the circle.

radius Number

Radius of the circle.

type 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".