forked from MapComplete/MapComplete
Feature: automatically move the camera towards the object in 360° view
This commit is contained in:
parent
01ba98a820
commit
fc33d755b6
2 changed files with 5 additions and 1 deletions
|
|
@ -60,6 +60,9 @@ export class PhotoSphereViewerWrapper {
|
|||
yaw: (yaw - northOffs) % 360,
|
||||
text: f.properties.name
|
||||
})
|
||||
if (f.properties.focus) {
|
||||
this.viewer.setYaw(yaw - northOffs)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue