CameraLimits.minDistance ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromconfigurator-runtime.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Property of CameraLimits · stable · since 2.0.0
minDistance?: number | null;
Metres. While no document layer and no limits call sets minDistance or maxDistance, 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)
| 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) |