Skip to main content

GLOBE_CHORD_TOLERANCE_PX

The furthest, in pixels, a straight piece of a line drawn over a globe may stray from the great circle it stands for. Half a pixel is below what the eye can tell from an anti-aliased curve.

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

Signature​

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

GLOBE_CHORD_TOLERANCE_PX = 0.5

Source: packages/core/src/globe/greatCircle.ts:13