refactor(street-level): drop unused tile and pose fields; keep the sequence error on the sequence

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-08 15:03:37 +04:00
1 parent 7411ebaf1c
commit c78c872f92
10 files changed
+32 -60

No files matched your search

@@ -5,7 +5,6 @@ import { mapillaryImageUrl } from './policy.js';
* @property {string} imageId
* @property {{lon: number, lat: number}} position
* @property {number|null} bearing
* @property {number|null} tilt
* @property {number|null} altitude
* @property {boolean} isPano
* @property {number|null} capturedAt Epoch milliseconds.
@@ -94,7 +93,6 @@ export function createMapillaryViewer({ source, render } = {}) {
...current,
position: { lon: lngLat.lng, lat: lngLat.lat },
bearing: Number.isFinite(pov?.bearing) ? pov.bearing : null,
tilt: Number.isFinite(pov?.tilt) ? pov.tilt : 0,
externalUrl: mapillaryImageUrl(current.imageId),
});
requestRender();