# MAX_GREAT_CIRCLE_STEPS

The most pieces one segment is cut into. It bounds the work for a very long
segment seen close up, where most of it is off the screen anyway. At
normalised zoom 13, where the engine has finished blending the globe into a
flat map, a half-turn segment needs 908 pieces to stay within
[`GLOBE_CHORD_TOLERANCE_PX`](https://docs.mapcairn.com/api/core/GLOBE_CHORD_TOLERANCE_PX.md), so the cap never shortens a curve the
globe draws.

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

## Signature

```ts
import { MAX_GREAT_CIRCLE_STEPS } from "@mapcairn/core";
 
MAX_GREAT_CIRCLE_STEPS = 1024
```

Source: [packages/core/src/globe/greatCircle.ts:23](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/globe/greatCircle.ts#L23)
