Skip to content

Get the position in yaw/pitch of a GPS link to use in rotate(position) method #1518

@AndyBaird

Description

@AndyBaird

Describe your problem

End goal: a button that someone can click which will rotate the viewer to a virtual tour link that is GPS based.
Problem: the link data only has the GPS coordinates which cannot be used in the rotate method.

Is there a method that can be used to achieve this that I am not seeing? Or is there a way to retrieve the computed position data for a GPS link?

Online demo URL

No response

Photo Sphere Viewer version

5.11.2

Plugins loaded

VirtualTourPlugin

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions