Feature(360): improve showing images, improve typing

This commit is contained in:
Pieter Vander Vennet 2025-04-10 04:53:01 +02:00
parent aa5c309887
commit ed8414dab9
6 changed files with 52 additions and 19 deletions

View file

@ -78,6 +78,9 @@ export class PhotoSphereViewerWrapper {
public setNearbyFeatures(nearbyFeatures: Feature<Geometry, HotspotProperties>[]) {
const imageInfo = this.imageInfo
if (!this.imageInfo) {
return
}
const northOffs = imageInfo.properties.northOffset
this.nearbyFeatures = nearbyFeatures
this.clearHotspots()