Skip to main content

circleRing

The points of a circle of radiusMetres around centre, as an open ring of steps positions that starts due east and runs anticlockwise.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { circleRing } from "@mapcairn/core";

function circleRing(centre: LatLng, radiusMetres: number, steps: number): LatLng[];

Parameters​

  • centre (LatLng)
  • radiusMetres (number)
  • steps (number)

Returns​

LatLng[]

See also​

Source: packages/core/src/draw/geo.ts:54