Circular search geometry (non-standard GeoJSON extension).
It defines a circular search area by center point and radius. It is a convenience type, because standard GeoJSON has no circles.
Note that it is not part of the official GeoJSON specification. It is a Maps SDK extension, converted to the appropriate API format internally.
Coordinates are in [longitude, latitude] order, as in standard GeoJSON.
[longitude, latitude]
const circle: Circle = { type: 'Circle', coordinates: [4.9041, 52.3676], // Amsterdam center radius: 2000 // 2km radius}; Copy
const circle: Circle = { type: 'Circle', coordinates: [4.9041, 52.3676], // Amsterdam center radius: 2000 // 2km radius};
Center point of the circle in [longitude, latitude] format.
[4.9041, 52.3676] Copy
[4.9041, 52.3676]
Radius of the circle in meters.
It defines the search area around the center point. Results include places within this radius.
1000 // 1 kilometer Copy
1000 // 1 kilometer
Geometry type identifier. It must be the literal string 'Circle'.
'Circle'
Circular search geometry (non-standard GeoJSON extension).
It defines a circular search area by center point and radius. It is a convenience type, because standard GeoJSON has no circles.
Remarks
Note that it is not part of the official GeoJSON specification. It is a Maps SDK extension, converted to the appropriate API format internally.
Coordinates are in
[longitude, latitude]order, as in standard GeoJSON.Example