forked from MapComplete/MapComplete
Feature(360): improve showing images, improve typing
This commit is contained in:
parent
aa5c309887
commit
ed8414dab9
6 changed files with 52 additions and 19 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue