[ Whereis® API Home ] [ JSON API Home ] [ Object Index ] [ Geometry Types ]

Defines a precise circle shape. Its centrepoint is located as a map coordinate (a <point>) but its radius is specified as a number of pixels. This is in order to constrain the shape into a perfect circle whatever the map's projection.

Format

{
	"centre": <point>,
	"radius": int
}

Parameters

Parameter

Type

Mandatory?

Description

centre

<point>

Y

Locates the centrepoint of the circle on the map

radius

int

Y

Radius in pixels.

 

 

NOTES

If you need a circular shape defined by distance, see <oval>.

Icon

This object wraps the following objects defined elsewhere: