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

Defines an ellipse in geometric terms. its centrepoint is located as a map coordinate (a <point>) but its horizontal and vertical radii are specified as a number of pixels. This is in order to constrain the shape into a precise oval, whatever the map's projection.

Format

{
	"centre": <point>,
	"radiusX": <int>,
	"radiusY": <int>
}

Parameters

Name

Mandatory?

Description

centre

Y

Locates the centrepoint of the ellipse on the map

radiusX

Y

Horizontal radius in pixels

radiusY

Y

Vertical radius in pixels

 

 

NOTES

<circle> is a special case of <ellipse> in which radiusX and radiusY are the same.

Icon

This object wraps the following objects defined elsewhere: