Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sphere.js #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Update sphere.js #11

wants to merge 3 commits into from

Conversation

ericball
Copy link

I ran into a problem trying to use sphere.js to display a pano with GPano tags created by exiftool. I found the problem was a conflict between the getAttr function (which expects GPano:FullPanoWidthPixels="3000") and the tags created by exiftool (which are the format < GPano:FullPanoWidthPixels >3000< /GPano:FullPanoWidthPixels >.

I ran into a problem trying to use sphere.js to display a pano with GPano tags created by exiftool.  I found the problem was a conflict between the getAttr function (which expects GPano:FullPanoWidthPixels="3000") and the tags created by exiftool (which are the format <GPano:FullPanoWidthPixels>3000</GPano:FullPanoWidthPixels>.
Added optional vertical field of view parameter (default 75) to function Photosphere.
Corrected getAttr to return value instead of array.  Changed direction of auto-rotation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant