Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Support both spherical and cylindrical modes #11

Open
mhamilton723 opened this issue Jul 31, 2019 · 3 comments
Open

Support both spherical and cylindrical modes #11

mhamilton723 opened this issue Jul 31, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@mhamilton723
Copy link

I have gotten this to work, but cant figure out how to view in full spherical vs cylyndrical or how to get the buttons you show in your demo GIF. Thanks for the help!

@mimmobordini
Copy link

you can use the example in the pack for the full screen, the module is already in full screen. to put buttons ON the panorama, just add a style to the button and set the position to "absolute"

@rodymolenaar
Copy link
Member

Thanks @mimmobordini that's indeed how you should go about adding controls to the scene.

The demo gif is from the parent library used on iOS. Because we do not have a way to toggle the type of view (spherical / cylindrical) with the library we use on Android we're not able to provide it as a cross platform API in this component. You're welcome to contribute, I would love to point you in the right direction :)

@rodymolenaar rodymolenaar added the enhancement New feature or request label Sep 24, 2019
@rodymolenaar rodymolenaar changed the title Full 360 view Support both spherical and cylindrical modes Sep 24, 2019
@cristianoccazinsp
Copy link

The iOS side already decides between cylindrical and spherical automatically based on the image's dimensions. I don't think you really need to manually change this in any way. Furthermore, cylindrical mode look quite ugly if used with a spherical image.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants