mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
docs(street-level): shorten docs and comments before merge
Trim the doc text this PR adds (README, CHANGELOG, CURRENT-STATE, KNOWN-ISSUES, SECURITY, DATA_SOURCES, .env.example, the CI job comment), drop code comments that restate the code, cut design-note JSDoc to a line or two, and drop review tags from test names. Comments only; no code changes. Also: README key count (seven keys, two metered), CURRENT-STATE's gate paragraph (CI runs a production build with a dummy token), the stacked doc above meshBoxInRange and the orphaned inMeshRange line in coverage.js, and a duplicate ALPR row in DATA_SOURCES that a merge had brought back. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c65feda4b1
commit
4ea6631425
85 files changed
+701
-1520
No files matched your search
@@ -1,8 +1,4 @@
|
||||
/**
|
||||
* Shared stand-ins for the Street Level tests: a provider snapshot as the
|
||||
* core reports it, the smallest provider definition the core accepts, and a
|
||||
* camera whose screen rays really meet the ellipsoid they are given.
|
||||
*/
|
||||
/** Shared Street Level test stand-ins: provider snapshot, minimal provider, ray-casting camera. */
|
||||
import * as Cesium from 'cesium';
|
||||
import { MAPILLARY_CREDIT_HTML } from '../layers/streetLevel/providers/mapillary/policy.js';
|
||||
|
||||
@@ -28,10 +24,8 @@ export function providerSnapshot(overrides = {}) {
|
||||
}
|
||||
|
||||
/**
|
||||
* The smallest provider definition the core accepts. `stats` is what
|
||||
* coverageStats() answers (mutate it to change the answer), `calls` counts
|
||||
* what the core asked of the provider and its viewer, `filters` lists every
|
||||
* filter it was given and `context()` is the context the core created it with.
|
||||
* The smallest provider the core accepts. Mutate `stats` to change what
|
||||
* coverageStats() answers; `calls`, `filters` and `context()` record use.
|
||||
*/
|
||||
export function fakeStreetLevelProvider({
|
||||
id = 'mapillary',
|
||||
@@ -90,10 +84,8 @@ export function fakeStreetLevelProvider({
|
||||
}
|
||||
|
||||
/**
|
||||
* A pinhole camera at `altitude` metres above the WGS84 ellipsoid, looking
|
||||
* along `heading` (degrees from north) and `pitch` (degrees, negative is
|
||||
* down), over a `width`×`height` canvas with the given fields of view. Its
|
||||
* `pickEllipsoid` intersects whatever ellipsoid it is given, as Cesium's does.
|
||||
* A pinhole camera `altitude` m above WGS84, at `heading` (deg from north) and
|
||||
* `pitch` (deg, negative down); `pickEllipsoid` hits whatever ellipsoid it gets.
|
||||
*/
|
||||
export function rayCamera({
|
||||
lon,
|
||||
|
||||
Reference in new issue
Block a user