Skip to main content

AccuracyCircle

The circle around a found location, sized from the ground resolution at its latitude so it matches the real accuracy at every zoom (on a globe, the resolution at the view centre, which holds across the sphere). The outline has a halo under it, like a measure line, so it shows over any basemap. Render it inside MapOverlayLayer.

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

Signature​

import { AccuracyCircle } from "@mapcairn/map";

function AccuracyCircle(input: AccuracyCircleProps): JSX.Element | null;

Parameters​

  • { center, accuracyMetres, testId, }
  • input (AccuracyCircleProps)

Returns​

JSX.Element | null

See also​

Source: packages/map/src/host/overlays/AccuracyCircle.tsx:32