# `CameraLimits.minDistance`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Property of [`CameraLimits`](CameraLimits.md) · stable · since 2.0.0

```ts
minDistance?: number | null;
```

Metres. While no document layer and no `limits` call sets `minDistance` or [`maxDistance`](CameraLimits.maxDistance.md), the
runtime fits both to the role 'product' bounds at every commit that changes those bounds:
min = max(0.1, 0.7 × the largest extent), max = 10 × it, as 1.x's adaptive zoom limits.
Setting either one turns the fit off; the other is then 1.x's default (0.5 m, 50 m) unless set.

**Default:** unchanged (the document's, else fitted to the product bounds)

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `minDistance` names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | pass: 7 apps (fleet cross-check: app-04c2774145, app-37356bf09f, app-378d190f1b, app-4762caacdc, app-59c5b5751e, app-f9a32142f1, app-fc306ec3dc) |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |
