Documentation
Reference
2.1.50 (current version)
collection
interactivityModel
Interfaces
2.1.52 (release candidate)
collection
interactivityModel
Interfaces

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

NameTypeDescription
coordinatesNumber[]|null

Coordinates of the center of the circle.

radiusNumber

Radius of the circle.

typeString

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