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

how can i Setting default home view? #641

Open
SeongminJaden opened this issue Nov 13, 2023 · 1 comment
Open

how can i Setting default home view? #641

SeongminJaden opened this issue Nov 13, 2023 · 1 comment

Comments

@SeongminJaden
Copy link

I want Resium to display the initial rendering screen and the screen at the coordinates I want when I click the home button.

<Viewer style={{
position: "absolute",
top: 0,
left: 0,
right: 0,
bottom: 0,
borderRadius: "1vw",
backgroundColor: "#7D7D7D",
}} >
{isButtonClicked && (

)}

@mfarmer-ara
Copy link
Contributor

You can use the <CameraFlyTo> component.

https://resium.reearth.io/components/CameraFlyTo

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

No branches or pull requests

2 participants